We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ad2f4 commit aa5a031Copy full SHA for aa5a031
packages/core/auth-js/src/GoTrueAdminApi.ts
@@ -465,17 +465,16 @@ export default class GoTrueAdminApi {
465
*/
466
private async _deleteOAuthClient(clientId: string): Promise<OAuthClientResponse> {
467
try {
468
- return await _request(
+ await _request(
469
this.fetch,
470
'DELETE',
471
`${this.url}/admin/oauth/clients/${clientId}`,
472
{
473
headers: this.headers,
474
- xform: (client: any) => {
475
- return { data: client, error: null }
476
- },
+ noResolveJson: true,
477
}
478
)
+ return { data: {}, error: null }
479
} catch (error) {
480
if (isAuthError(error)) {
481
return { data: null, error }
0 commit comments