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.

only fetch default rewards

Steven Tey833252db098b
diff --git a/apps/web/app/api/og/program/route.tsx b/apps/web/app/api/og/program/route.tsx
index 4bddd3b791..7265c503f1 100644
--- a/apps/web/app/api/og/program/route.tsx
+++ b/apps/web/app/api/og/program/route.tsx
@@ -37,7 +37,11 @@ export async function GET(req: NextRequest) {
slug,
},
include: {
- rewards: true,
+ rewards: {
+ where: {
+ default: true,
+ },
+ },
},
});