File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/core/auth-js/src Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -463,7 +463,9 @@ export default class GoTrueAdminApi {
463463 *
464464 * This function should only be called on a server. Never expose your `service_role` key in the browser.
465465 */
466- private async _deleteOAuthClient ( clientId : string ) : Promise < OAuthClientResponse > {
466+ private async _deleteOAuthClient (
467+ clientId : string
468+ ) : Promise < { data : null ; error : AuthError | null } > {
467469 try {
468470 await _request (
469471 this . fetch ,
Original file line number Diff line number Diff line change @@ -1580,7 +1580,7 @@ export interface GoTrueAdminOAuthApi {
15801580 *
15811581 * This function should only be called on a server. Never expose your `service_role` key in the browser.
15821582 */
1583- deleteClient ( clientId : string ) : Promise < OAuthClientResponse >
1583+ deleteClient ( clientId : string ) : Promise < { data : null ; error : AuthError | null } >
15841584
15851585 /**
15861586 * Regenerates the secret for an OAuth client.
You can’t perform that action at this time.
0 commit comments