Fix app id when creating credential (#3629)

This commit is contained in:
Joe Au-Yeung 2022-08-01 15:25:04 -04:00 committed by GitHub
parent b42f0ffadd
commit 7e8f13148e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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