Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-bronnikov committed Aug 30, 2024
1 parent 9a53e10 commit 7e85397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/storage/postgresql/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ func (s *Store) GetSpentKeyRings(tags []string, order string, limit, offset int,

query := fmt.Sprintf(`
SELECT * FROM keys
WHERE keys.revoked = False OR keys.revoked_reason = 'expired' %s
WHERE (keys.revoked = False OR keys.revoked_reason = 'expired') %s
`, condition)

qorder := "DESC"
Expand Down

0 comments on commit 7e85397

Please sign in to comment.