Skip to content

Commit

Permalink
fixed incorrect number of parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Dec 22, 2024
1 parent 0903c48 commit 09713e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/database/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,7 @@ func (db *SQLiteDatabase) CreateAccount(ctx context.Context, account model.Accou
}

err = query.QueryRowContext(ctx,
account.Username, account.Password, account.Owner, account.Config,
account.Password, account.Owner).Scan(&accountID)
account.Username, account.Password, account.Owner, account.Config).Scan(&accountID)
if err != nil {
return errors.WithStack(err)
}
Expand Down

0 comments on commit 09713e6

Please sign in to comment.