implement connect

This commit is contained in:
Carlosokumu 2025-04-08 12:43:35 +03:00
parent bdde401439
commit e2d1f65bb3
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -210,6 +210,10 @@ func (ms *MenuStorageService) GetLogDb(ctx context.Context, mainDb db.Db, connSt
}
connStr = path.Join(connStr, section)
tgdbm := gdbmstorage.NewThreadGdbmDb()
err = tgdbm.Connect(ctx, connStr)
if err != nil {
return nil, err
}
return tgdbm, nil
}