Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
Hariom BalharaandJoe Au-Yeung authored and GitHub committed 2023-07-26 17:43:33 +02:00
1 parent bd40dcfa4d
commit 83d98a1ac4
14 files changed
+51 -14

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
await prisma.credential.deleteMany({ where: { id: { in: credentialIdsToDelete }, userId } });
}
createOAuthAppCredential({ appId: config.slug, type: config.type }, responseBody, req);
await createOAuthAppCredential({ appId: config.slug, type: config.type }, responseBody, req);
res.redirect(getInstalledAppPath({ variant: config.variant, slug: config.slug }));
}