Pr review

This commit is contained in:
blagoev 2017-10-02 17:10:58 +03:00
parent f2030cae06
commit f4d32eba06
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ X.Y.Z-rc Release notes
* Upgrading to Realm Core 4.0.0 and Realm Sync 2.0.0-rc25.
### Enhancements
** Support Realm migration from sync 1.0 to sync 2.0 version
* None
### Bug fixes
* Configuration of sync file system is not done on module import but later when actually needed by sync (#1351)

View File

@ -246,7 +246,7 @@ function sendRequest(command, data, host = sessionHost) {
if (error && error.replace) {
error = error.replace(/^[a-z]+: /i, '');
}
else if (error.type && error.type == 'dict') {
else if (error.type && error.type === 'dict') {
const responseError = deserialize_json_value(error);
let responeMessage;
if (response.message && response.message !== '') {