File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/core/auth-js/src/lib Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1693,10 +1693,7 @@ export type OAuthGrant = {
16931693 * Response type for listing user's OAuth grants.
16941694 * Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
16951695 */
1696- export type AuthOAuthGrantsResponse = RequestResult < {
1697- /** Array of OAuth grants authorized by the user */
1698- grants : OAuthGrant [ ]
1699- } >
1696+ export type AuthOAuthGrantsResponse = RequestResult < OAuthGrant [ ] >
17001697
17011698/**
17021699 * Response type for revoking an OAuth grant.
@@ -1755,7 +1752,7 @@ export interface AuthOAuthServerApi {
17551752 * Lists all OAuth grants that the authenticated user has authorized.
17561753 * Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
17571754 *
1758- * @returns Array of OAuth grants with client information and granted scopes
1755+ * @returns Response with array of OAuth grants with client information and granted scopes
17591756 */
17601757 listGrants ( ) : Promise < AuthOAuthGrantsResponse >
17611758
You can’t perform that action at this time.
0 commit comments