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

Update DeleteUser to remove roles first prior to full deletion #213

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

darthtrevino
Copy link
Collaborator

No description provided.

@@ -78,6 +80,16 @@ export class DeleteUserInteractor implements Interactor<MutationDeleteUserArgs,
return new FailedResponse(this.localization.t('mutation.deleteUser.fail'))
}

try {
} catch (error) {
return new FailedResponse(this.localization.t('mutation.deleteUser.fail'))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we decide to revert to using FailedResponse instead of using the Error responses that Apollo provides?

@danielfe
Copy link
Collaborator

When we delete a user, what happens to requests that are assigned to them?

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.

2 participants