Fix app id when creating credential (#3629)

This commit is contained in:
Joe Au-Yeung authored and GitHub committed 2022-08-01 13:25:04 -06:00
1 parent b42f0ffadd
commit 7e8f13148e
2 files changed
+2 -2

No files matched your search

@@ -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 {
@@ -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 {