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 PATCH oauth/apps

Steven Tey1bc9fd93ed04
diff --git a/apps/web/app/api/oauth/apps/[appId]/route.ts b/apps/web/app/api/oauth/apps/[appId]/route.ts
index 4598e0d034..d65692414a 100644
--- a/apps/web/app/api/oauth/apps/[appId]/route.ts
+++ b/apps/web/app/api/oauth/apps/[appId]/route.ts
@@ -113,20 +113,7 @@ export const PATCH = withWorkspace(
},
},
},
- select: {
- id: true,
- createdAt: true,
- updatedAt: true,
- name: true,
- slug: true,
- description: true,
- developer: true,
- logo: true,
- website: true,
- installUrl: true,
- readme: true,
- screenshots: true,
- verified: true,
+ include: {
oAuthApp: true,
},
});