Skip to content
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

[MM-809]: fix the issue of getting errors when using github api with revoked/invalid token #40

Closed
wants to merge 2 commits into from

Conversation

Kshitij-Katiyar
Copy link

@Kshitij-Katiyar Kshitij-Katiyar commented Aug 30, 2024

Summary

  • Fixed the issue of getting errors when using GitHub API with revoked/invalid tokens.
  • Created a wrapper function and used it on all the githubClient calls, in case of invalid token error, disconnected the user and DMed him to reconnect

server/plugin/plugin.go Show resolved Hide resolved
server/plugin/plugin.go Show resolved Hide resolved
server/plugin/plugin.go Show resolved Hide resolved
@Kshitij-Katiyar
Copy link
Author

Created a PR on mattermost remote with all these changes hence closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants