Fix app id when creating credential (#3629)
This commit is contained in:
parent
b42f0ffadd
commit
7e8f13148e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user