Open BrainBuzzer opened 4 years ago
I was scrolling through some code, there is already a DeleteGithubProfile
mutation there,
mutation {
deleteGithubProfile {
success: String!
errors: [String!]
}
}
It deletes the github profile associated with the user and throws an error message if no github profile is attached. Maybe test if it really works and I'll also try to create some form of documentation to track the existing queries/mutations
The GitHub profile that the user connects with should be detachable from the profile. So we'll have to add a mutation to disconnect the user profiles.