7092 destroy connected account instead of soft deleting it (#7099)

- Create `destroyOne` endpoint
- Call `destroyOne` when removing a `connectedAccount`
This commit is contained in:
Raphaël Bosi
2024-09-17 18:30:40 +02:00
committed by GitHub
parent c42ea57b97
commit 7cdf2dc4ec
15 changed files with 241 additions and 5 deletions

View File

@ -105,6 +105,13 @@ export const getResolverArgs = (
isNullable: false,
},
};
case 'destroyOne':
return {
id: {
type: GraphQLID,
isNullable: false,
},
};
case 'updateMany':
return {
data: {