Skip to content

Commit

Permalink
Fix init MS graph calendar service issue (microsoft#367)
Browse files Browse the repository at this point in the history
* fix init microsoft calendar api issue

* fix generate service logic
  • Loading branch information
KayMKM authored and darrenj committed Nov 29, 2018
1 parent 7d2c9c9 commit 232e4fe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ public ICalendar InitCalendarService(string token, EventSource source)
switch (source)
{
case EventSource.Microsoft:

var serviceClient = GraphClient.GetAuthenticatedClient(token);
calendarAPI = new MSGraphCalendarAPI(serviceClient);
break;
case EventSource.Google:
GoogleClient googleClient = GoogleClient.GetGoogleClient(_skillConfig);
var googlePeopleClient = GoogleCalendarAPI.GetServiceClient(googleClient, token);
Expand Down

0 comments on commit 232e4fe

Please sign in to comment.