Skip to content

Commit 24307c9

Browse files
author
Gavin Barron
committed
moved event web hook endpoint
1 parent 90198e3 commit 24307c9

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.

RegisterCalendarWebHook/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = function (context, myQueueItem) {
99
expires.setDate(expires.getDate() + 2);
1010
const postData = {
1111
"changeType": "created",
12-
"notificationUrl": "https://graph-functions-node.azurewebsites.net/api/CalendarWebHookHandler?code=9EJaI7/UQ/W1Yvu3Lw48hFM0ZKippfJejmPVSdbVxReAO8cYb5iaYg==",
12+
"notificationUrl": "https://graph-functions-node.azurewebsites.net/api/EventWebHookHandler",
1313
"resource": "me/events",
1414
"expirationDateTime": expires.toISOString(),
1515
"clientState": cfg.CLIENT_STATE

common/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
const cfg = {
2-
CLIENT_STATE: 'asdfadfe4-identifier'
2+
CLIENT_STATE: 'c1i3nt5t4t3'
33
}
44
module.exports = cfg;

0 commit comments

Comments
 (0)