Fix type name clashing for eslint parser (#10491)
This commit is contained in:
1 parent
17855251ff
commit
7c64b6a6e2
3 files changed
+120
-98
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user