-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: typo in Gcal
atom prop and outlook service
#15319
Conversation
Rajiv Sahal seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
@@ -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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we need to pass in the access token for the users office365 oauth credentials.
Graphite Automations"Add platform team as reviewer" took an action on this PR • (06/04/24)1 reviewer was added to this PR based on Keith Williams's automation. |
What does this PR do?
OnCheckErroType
toOnCheckErrorType
2. And inside of the calendars service while trying to get the default calendar of a user we were passing the access token of our v2 api instead of passing the access token that we get from a users outlook credentials. This was resulting in an invalid and as a result user credentials were not being saved in the db.Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
This can be tested under the examples app in
packages/platform/examples/base