-
Notifications
You must be signed in to change notification settings - Fork 2
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
Restrict slack user to have only one fyle account link #57
Conversation
@@ -1,3 +1,4 @@ | |||
from logging import log |
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.
Can remove this, not needed. We already have a logger in libs
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.
this was done
# If the fyle user already exists, send a message to user indicating they've already | ||
# linked their Fyle account in one of their slack workspace | ||
team_name = fyle_user.slack_team.name | ||
message = f'Hey buddy you\'ve already linked your *Fyle* account in this workspace `{team_name}` :rainbow:' |
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.
Minor message suggestion - Hey buddy you\'ve already linked your *Fyle* account in {workspace name} workspace
Also, can we indicate to the user that if they want to link their account to new workspace, they should unlink from the already linked one and link in the new workspace?
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.
this was done
Changes -
Clickup