Skip to content

Commit

Permalink
Merge pull request #222 from TogetherCrew/fix/DISCORD_AUTHORIZATION_F…
Browse files Browse the repository at this point in the history
…AILURE

update discord authorization failure flow
  • Loading branch information
mehdi-torabiv authored Dec 13, 2023
2 parents eecb8f5 + 1ad1892 commit ec30194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/callback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function Callback() {

case StatusCode.DISCORD_AUTHORIZATION_FAILURE:
setMessage('Authorization failed. Please try again.');
handleCreateNewPlatform(params);
router.push('/centric');
break;

case StatusCode.DISCORD_AUTHORIZATION_FROM_SETTINGS:
Expand Down

0 comments on commit ec30194

Please sign in to comment.