Fix type name clashing for eslint parser (#10491)

This commit is contained in:
Danila authored and GitHub committed 2023-08-01 15:55:31 +00:00
1 parent 17855251ff
commit 7c64b6a6e2
3 files changed
+120 -98

No files matched your search

+5 -1
View File
@@ -47,7 +47,11 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
// set expiry date as offset from current time.
hubspotToken.expiryDate = Math.round(Date.now() + hubspotToken.expiresIn * 1000);
await createOAuthAppCredential({ appId: "hubspot", type: "hubspot_other_calendar" }, hubspotToken as any, req);
await createOAuthAppCredential(
{ appId: "hubspot", type: "hubspot_other_calendar" },
hubspotToken as any,
req
);
const state = decodeOAuthState(req);
res.redirect(