pass context

This commit is contained in:
Carlosokumu 2024-10-31 20:08:30 +03:00
parent 8fe8ff540b
commit ac0b4b2ed1
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -73,7 +73,7 @@ func TestEngine(sessionId string) (engine.Engine, func(), chan bool) {
os.Exit(1) os.Exit(1)
} }
lhs, err := handlers.NewLocalHandlerService(pfp, true, dbResource, cfg, rs) lhs, err := handlers.NewLocalHandlerService(ctx, pfp, true, dbResource, cfg, rs)
lhs.SetDataStore(&userDataStore) lhs.SetDataStore(&userDataStore)
lhs.SetPersister(pe) lhs.SetPersister(pe)