mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-16 07:49:06 +02:00
Fix type
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import memgraph from 'neo4j-driver';
|
||||
import type { Driver } from 'neo4j-driver';
|
||||
import { MEMEGRAPH_URI, MEMGRAPH_USER, MEMGRAPH_PASSWORD } from '$env/static/private';
|
||||
import { MEMGRAPH_URI, MEMGRAPH_USER, MEMGRAPH_PASSWORD } from '$env/static/private';
|
||||
|
||||
export const driverInstance: Driver = memgraph.driver(
|
||||
MEMEGRAPH_URI || 'bolt://localhost:7687',
|
||||
export const DB: Driver = memgraph.driver(
|
||||
MEMGRAPH_URI || 'bolt://localhost:7687',
|
||||
memgraph.auth.basic(
|
||||
MEMGRAPH_USER || 'memgraph',
|
||||
MEMGRAPH_PASSWORD || 'memgraph'
|
||||
|
Reference in New Issue
Block a user