mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-12 22:09:07 +02:00
Remove wrong driver close
This commit is contained in:
@@ -14,7 +14,6 @@ func InitDatabase(dbUri, dbUser, dbPassword string) neo4j.DriverWithContext {
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
defer driver.Close(ctx)
|
||||
|
||||
err = driver.VerifyConnectivity(ctx)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user