The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update get-bounties.ts
Kiran K2744d9b59407
diff --git a/apps/web/lib/api/bounties/get-bounties.ts b/apps/web/lib/api/bounties/get-bounties.tsindex aa1b166e8c..e71c9781d1 100644--- a/apps/web/lib/api/bounties/get-bounties.ts+++ b/apps/web/lib/api/bounties/get-bounties.ts@@ -40,11 +40,8 @@ export async function getBounties(filters: BountyFilters) {SELECT JSON_ARRAYAGG(JSON_OBJECT('id', bgSub.groupId))- FROM (- SELECT bgSub.groupId- FROM BountyGroup bgSub- WHERE bgSub.bountyId = b.id- ) bgSub+ FROM BountyGroup bgSub+ WHERE bgSub.bountyId = b.id),JSON_ARRAY()) as groups