Update servers route (#3032)

This commit is contained in:
Geometrically authored and GitHub committed 2024-12-16 17:34:20 -07:00
1 parent fee8d6c34e
commit 7e8ceadfd4
3 files changed
+18 -6

No files matched your search

@@ -115,6 +115,7 @@ impl UserSubscriptionItem {
INNER JOIN products_prices pp ON us.price_id = pp.id
INNER JOIN products p ON p.metadata @> '{"type": "pyro"}'
WHERE $1::text IS NULL OR us.status = $1::text
GROUP BY us.id
"#,
status
)