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

Add Cyberstorm endpoint for disconnecting linked accounts #1047

Open
wants to merge 1 commit into
base: 12-11-Add_DisbandTeamAPIView
Choose a base branch
from

Conversation

Oksamies
Copy link
Contributor

No description provided.

Copy link
Contributor Author

Oksamies commented Jul 18, 2024

@Oksamies
Copy link
Contributor Author

Oksamies commented Jul 22, 2024

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?

@Oksamies Oksamies force-pushed the 12-11-Add_DisbandTeamAPIView branch from a0232ab to 2bff326 Compare August 20, 2024 14:14
@Oksamies Oksamies force-pushed the 07-18-Add_Cyberstorm_endpoint_for_disconnecting_linked_accounts branch from 9935006 to ed9f73e Compare August 20, 2024 14:14
@Oksamies Oksamies force-pushed the 12-11-Add_DisbandTeamAPIView branch from 2bff326 to 86f7377 Compare September 10, 2024 11:22
@Oksamies Oksamies force-pushed the 07-18-Add_Cyberstorm_endpoint_for_disconnecting_linked_accounts branch from ed9f73e to dd1db0a Compare September 10, 2024 11:22
@@ -6,9 +6,43 @@
from thunderstore.frontend.views import SettingsViewMixin


class LinkedAccountDisconnectExecption(Exception):
Copy link

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")
Copy link

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.

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.

1 participant