Skip to content

Commit 3ce2f22

Browse files
committed
updated cosync storage sign up
1 parent a26ff38 commit 3ce2f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CosyncStorage/ReactNative-Expo/CosyncStorageExpo/managers/RealmManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const signup = (userEmail, userPassword) => {
3838
const app = new Realm.App(appConfig);
3939
if(app.currentUser) app.currentUser.logOut();
4040

41-
app.emailPasswordAuth.registerUser({userEmail, userPassword}).then(result => {
41+
app.emailPasswordAuth.registerUser(userEmail, userPassword).then(result => {
4242
resolve(true)
4343
}).catch(err => {
4444
resolve(err)

0 commit comments

Comments
 (0)