[cloud] Fix error shown to the user when org invite is declined
Created by: kopancek
Description
Fix error shown to the user when org invite is declined
Related Jira issue:
https://sourcegraph.atlassian.net/browse/CLOUD-154 https://sourcegraph.atlassian.net/browse/CLOUD-153
Related PR:
#28170
Testing locally
- Run sg in cloud mode:
sg start dotcom
- Create an organization
- Create an organization invite for another user
- Login with the other user
- Follow the invite link
- Click on Decline
- The user should be navigated to user settings