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 62a9a91 commit aac6305Copy full SHA for aac6305
src/Auth.js
@@ -10,12 +10,12 @@ class Auth {
10
this.autoRefreshToken = options.autoRefreshToken
11
12
this.signup = async (email, password) => {
13
- const { body } = await superagent
+ const response = await superagent
14
.post(`${authUrl}/signup`, { email, password })
15
.set('accept', 'json')
16
.set('apikey', this.supabaseKey)
17
18
- return body
+ return response
19
}
20
21
this.login = async (email, password) => {
0 commit comments