mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-09 13:55:49 +00:00
Fix admin-user-helper
This commit is contained in:
parent
ea0d92c205
commit
a0d3eb4466
@ -42,8 +42,11 @@ exports.createAdminUser = function () {
|
||||
sync: {
|
||||
user: admin_token_user,
|
||||
url: `realm://localhost:9080/__admin`,
|
||||
error: err =>
|
||||
console.log('Error opening __admin realm ' + err.user + ' ' + err.url + ' ' + err.state),
|
||||
error: err => {
|
||||
const error = new Error('Error opening __admin realm error:' + err.user + ' url:' + err.url + ' state:' + err.state)
|
||||
console.log(error);
|
||||
reject(error);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user