From c8fef975988b0f19693a56711b210e8407e54a4f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 7 Jul 2025 12:37:16 +0200 Subject: [PATCH] :sparkles: Add missing field on get-teams rpc method --- backend/src/app/rpc/commands/teams.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/app/rpc/commands/teams.clj b/backend/src/app/rpc/commands/teams.clj index b77885c059..b0b21cc2fe 100644 --- a/backend/src/app/rpc/commands/teams.clj +++ b/backend/src/app/rpc/commands/teams.clj @@ -139,7 +139,8 @@ '~:status', CASE COALESCE(p.props->'~:subscription'->>'~:type', 'professional') WHEN 'professional' THEN 'active' ELSE COALESCE(p.props->'~:subscription'->>'~:status', 'incomplete') - END + END, + '~:seats', p.props->'~:quantity' ) AS subscription FROM team_profile_rel AS tp JOIN team AS t ON (t.id = tp.team_id)