refactor sqlite repository

This commit is contained in:
2025-01-25 14:39:02 -06:00
parent 0a1b8f9457
commit 44bede14e4
4 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ func TestNKodeAPI(t *testing.T) {
dbPath := os.Getenv("TEST_DB")
ctx := context.Background()
sqlitedb, err := repository.NewSqliteRepository(dbPath, ctx)
sqlitedb, err := repository.NewSqliteRepository(ctx, dbPath)
if err != nil {
log.Fatal(err)
}