Revert query change

This commit is contained in:
Neil Alexander 2021-01-29 10:19:05 +00:00
parent 8fa5039136
commit 027793f122
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -84,7 +84,7 @@ const selectCurrentStateSQL = "" +
" AND ( $4::text[] IS NULL OR type LIKE ANY($4) )" +
" AND ( $5::text[] IS NULL OR NOT(type LIKE ANY($5)) )" +
" AND ( $6::bool IS NULL OR contains_url = $6 )" +
" AND event_id != ANY($7)" +
" AND NOT (event_id = ANY($7))" +
" LIMIT $8"
const selectJoinedUsersSQL = "" +