Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kiootic committed Jun 9, 2023
1 parent 0ea2934 commit 258d03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/postgres/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (q query[T]) UpdateAppConfig(ctx context.Context, app *models.App) error {
}

_, err = q.ext.ExecContext(ctx, `
UPDATE app SET config = $1, credential_ids = $2, updated_at = $3 WHERE id = $4
UPDATE app SET config = $1, credential_index = $2, updated_at = $3 WHERE id = $4
`, app.Config, string(index), app.UpdatedAt, app.ID)
if err != nil {
return err
Expand Down

0 comments on commit 258d03c

Please sign in to comment.