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.

fix program og

Steven Tey6cb2086fb2ab
diff --git a/apps/web/app/api/og/program/route.tsx b/apps/web/app/api/og/program/route.tsx
index 40add30839..3045d2ff45 100644
--- a/apps/web/app/api/og/program/route.tsx
+++ b/apps/web/app/api/og/program/route.tsx
@@ -32,7 +32,7 @@ export async function GET(req: NextRequest) {
const program = await getProgramViaEdge({ slug });
- if (!program || !program.landerData)
+ if (!program)
return new Response(`Program not found`, {
status: 404,
});