Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update rewards.ts

Kiran K3b568d01b8ae
diff --git a/apps/web/app/api/track/rewards.ts b/apps/web/app/api/track/rewards.ts
index c8581da9a9..bb909fa39e 100644
--- a/apps/web/app/api/track/rewards.ts
+++ b/apps/web/app/api/track/rewards.ts
@@ -35,9 +35,7 @@ export const determinePartnerReward = async ({
},
],
},
- select: {
- amount: true,
- type: true,
+ include: {
_count: {
select: {
partners: true,