Skip to content

Instantly share code, notes, and snippets.

@adityajoshi12
Created September 4, 2021 15:23
Show Gist options
  • Select an option

  • Save adityajoshi12/8bad475dfe066c97526bfbd38985e30b to your computer and use it in GitHub Desktop.

Select an option

Save adityajoshi12/8bad475dfe066c97526bfbd38985e30b to your computer and use it in GitHub Desktop.
async signUp() {
try {
let signupRes = await this.supabase.signUp(this.signUpForm.value.email, this.signUpForm.value.password);
let profile = await this.supabase.createProfile(signupRes.user.id, this.signUpForm.value.name);
} catch (error) {
console.error(error);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment