-
Notifications
You must be signed in to change notification settings - Fork 29
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 Cyberstorm endpoint for disconnecting linked accounts #1047
base: 12-11-Add_DisbandTeamAPIView
Are you sure you want to change the base?
Add Cyberstorm endpoint for disconnecting linked accounts #1047
Conversation
This PR is missing tests. @MythicManiac Any suggestions on how to test the social auth objects, cause there doesn't seem to be any easy way to create them? |
a0232ab
to
2bff326
Compare
9935006
to
ed9f73e
Compare
2bff326
to
86f7377
Compare
ed9f73e
to
dd1db0a
Compare
@@ -6,9 +6,43 @@ | |||
from thunderstore.frontend.views import SettingsViewMixin | |||
|
|||
|
|||
class LinkedAccountDisconnectExecption(Exception): |
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.
The class name LinkedAccountDisconnectExecption
contains a typo - it should be LinkedAccountDisconnectException
. This appears to be a simple misspelling of the word "Exception".
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
|
||
class CyberstormException(APIException): | ||
status_code = status.HTTP_400_BAD_REQUEST | ||
default_detail = _("Issue occured when trying to process action") |
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.
The word occured
in the error message is misspelled - it should be occurred
. The full message should read: "Issue occurred when trying to process action"
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
No description provided.