fix: remove unnecessary type assertion in neo4j config

This commit is contained in:
Tarun Sukhani
2026-02-07 00:47:22 +08:00
parent bcbeba400e
commit ae1d35aab3

View File

@@ -195,7 +195,7 @@ export const memoryNeo4jConfigSchema = {
if (typeof neo4jRaw.uri !== "string" || !neo4jRaw.uri) {
throw new Error("neo4j.uri is required");
}
const neo4jUri = neo4jRaw.uri as string;
const neo4jUri = neo4jRaw.uri;
// Validate URI scheme — must be a valid Neo4j connection protocol
const VALID_NEO4J_SCHEMES = [
"bolt://",