diff --git a/apps/web/pages/api/webhook/app-credential.ts b/apps/web/pages/api/webhook/app-credential.ts index 8034768bb3..e0ed83a696 100644 --- a/apps/web/pages/api/webhook/app-credential.ts +++ b/apps/web/pages/api/webhook/app-credential.ts @@ -36,7 +36,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) const app = await prisma.app.findUnique({ where: { slug: reqBody.appSlug }, - select: { slug: true }, + select: { dirName: true }, }); if (!app) {