fix: typo in Gcal atom prop and outlook service (#15319)

* fix typo in onCheckError prop

* pass in correct access token

---------

Co-authored-by: Rajiv Sahal <[email protected]>
This commit is contained in:
Rajiv SahalandRajiv Sahal authored and GitHub committed 2024-06-04 11:17:33 +00:00
1 parent b15ad6f233
commit 93580ac4bc
3 files changed
+6 -6

No files matched your search

@@ -156,7 +156,7 @@ export class OutlookService implements OAuthCalendarApp {
const office365OAuthCredentials = await this.getOAuthCredentials(parsedCode);
const defaultCalendar = await this.getDefaultCalendar(accessToken);
const defaultCalendar = await this.getDefaultCalendar(office365OAuthCredentials.access_token);
if (defaultCalendar?.id) {
const credential = await this.credentialRepository.createAppCredential(