🐛 Fix incorrect query for subscription editors (#7672)
Some checks failed
Commit Message Check / Check Commit Message (push) Has been cancelled

Default teams should be present on the query results
This commit is contained in:
Andrey Antukh
2025-11-03 16:14:24 +01:00
committed by GitHub
parent 83cd9c3db6
commit 88493f6805

View File

@@ -484,7 +484,6 @@
WHERE tpr1.profile_id = ? WHERE tpr1.profile_id = ?
AND tpr1.is_owner IS true AND tpr1.is_owner IS true
AND tpr2.can_edit IS true AND tpr2.can_edit IS true
AND NOT t.is_default
AND t.deleted_at IS NULL") AND t.deleted_at IS NULL")
(sv/defmethod ::get-subscription-usage (sv/defmethod ::get-subscription-usage