-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add the team entity to Slack if it doesn't exists and return it in pr… #221
Add the team entity to Slack if it doesn't exists and return it in pr… #221
Conversation
…ocessAuthorizationCallback
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.
I wanted to suggest potentially renaming the findOrCreateEntity method to: findOrCreateUserEntity, if that is its exclusive role.
I think I understand these changes, but it is a bit unclear. Seems to be creating both a user and team based entity, if both contexts are available. And if I have that right, then I think this makes sense.
Kudos, SonarCloud Quality Gate passed!
|
🚀 PR was released in |
Automatically creates and returns the team entity in Slack, in case user scopes exist in the auth flow.
If there is no user scopes provided, it just creates the team entity.
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via:
npm install @friggframework/api-module-slack@0.2.2-canary.221.3ee830b.0 # or yarn add @friggframework/api-module-slack@0.2.2-canary.221.3ee830b.0