Skip to content

Commit 4e7699c

Browse files
committed
fix(auth): return null instead of empty object
1 parent aa5a031 commit 4e7699c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/auth-js/src/GoTrueAdminApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ export default class GoTrueAdminApi {
474474
noResolveJson: true,
475475
}
476476
)
477-
return { data: {}, error: null }
477+
return { data: null, error: null }
478478
} catch (error) {
479479
if (isAuthError(error)) {
480480
return { data: null, error }

0 commit comments

Comments
 (0)