Scheduling infrastructure for absolutely everyone.
Fix app id when creating credential (#3629)
Joe Au-Yeung7e8f13148e83
diff --git a/packages/app-store/exchange2013calendar/api/add.ts b/packages/app-store/exchange2013calendar/api/add.tsindex dd296eaca85..8683ed4c9ab 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.tsindex 1582c442138..c0a3775f610 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 {