Closed acoutts closed 6 years ago
Fix: add parentheses to query to filter correctly:
WHERE (accountstaker = $1 OR accountleaser = $1) AND timestampexpires >= NOW() - '3 days'::INTERVAL
Fixed.
Fix: add parentheses to query to filter correctly: