Skip to content

Commit

Permalink
fix: Fixing sql query for listing ketchup reminder
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <bob@vibioh.fr>
  • Loading branch information
ViBiOh committed May 28, 2022
1 parent 0963c65 commit b683eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/ketchup/ketchup.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (a App) ListOutdated(ctx context.Context, userIds ...uint64) ([]model.Ketch
var params []any

if len(userIds) > 0 {
query += " AND k.user_id = ANY ($2)"
query += " AND k.user_id = ANY ($1)"
params = append(params, userIds)
}

Expand Down

0 comments on commit b683eee

Please sign in to comment.