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

@@ -20,7 +20,7 @@ type SqliteRepository struct {
ctx context.Context
}
func NewSqliteRepository(dbPath string, ctx context.Context) (*SqliteRepository, error) {
func NewSqliteRepository(ctx context.Context, dbPath string) (*SqliteRepository, error) {
sqliteDb, err := sqlc.OpenSqliteDb(dbPath)
if err != nil {
return nil, err