From 7e8f13148e83f17317155b6cf78c697182548b31 Mon Sep 17 00:00:00 2001 From: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> Date: Mon, 1 Aug 2022 15:25:04 -0400 Subject: [PATCH] Fix app id when creating credential (#3629) --- packages/app-store/exchange2013calendar/api/add.ts | 2 +- packages/app-store/exchange2016calendar/api/add.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-store/exchange2013calendar/api/add.ts b/packages/app-store/exchange2013calendar/api/add.ts index dd296eaca8..8683ed4c9a 100644 --- a/packages/app-store/exchange2013calendar/api/add.ts +++ b/packages/app-store/exchange2013calendar/api/add.ts @@ -33,7 +33,7 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) { type: "exchange2013_calendar", key: symmetricEncrypt(JSON.stringify(body), process.env.CALENDSO_ENCRYPTION_KEY!), userId: user.id, - appId: "exchange2013_calendar", + appId: "exchange2013-calendar", }; try { diff --git a/packages/app-store/exchange2016calendar/api/add.ts b/packages/app-store/exchange2016calendar/api/add.ts index 1582c44213..c0a3775f61 100644 --- a/packages/app-store/exchange2016calendar/api/add.ts +++ b/packages/app-store/exchange2016calendar/api/add.ts @@ -33,7 +33,7 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) { type: "exchange2016_calendar", key: symmetricEncrypt(JSON.stringify(body), process.env.CALENDSO_ENCRYPTION_KEY!), userId: user.id, - appId: "exchange2016_calendar", + appId: "exchange2016-calendar", }; try {