Skip to content

Instantly share code, notes, and snippets.

@shanwixcode
Created February 16, 2023 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanwixcode/0b46a6d2c81e75cb4c034b616ecf90da to your computer and use it in GitHub Desktop.
Save shanwixcode/0b46a6d2c81e75cb4c034b616ecf90da to your computer and use it in GitHub Desktop.
import {authentication} from 'wix-members-backend';
export function register(object) {
return authentication.register(object.email, object.password, object.options)
.then( (registrationResult) => {
return registrationResult;
})
.catch( (error) => {
return error;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment