mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 06:46:03 +00:00
Fix realm.schema property in Chrome debug mode
This commit is contained in:
parent
2b35360117
commit
85919dc66f
@ -152,7 +152,7 @@ function deserializeDict(realmId, info) {
|
|||||||
let object = {};
|
let object = {};
|
||||||
|
|
||||||
for (let i = 0, len = keys.length; i < len; i++) {
|
for (let i = 0, len = keys.length; i < len; i++) {
|
||||||
object[keys[i]] = values[i];
|
object[keys[i]] = deserialize(realmId, values[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return object;
|
return object;
|
||||||
|
@ -275,7 +275,7 @@ json RPCServer::serialize_json_value(JSValueRef js_value) {
|
|||||||
JSValueRef js_value = jsc::Object::get_property(m_context, js_object, js_key);
|
JSValueRef js_value = jsc::Object::get_property(m_context, js_object, js_key);
|
||||||
|
|
||||||
keys.push_back(js_key);
|
keys.push_back(js_key);
|
||||||
values.push_back(js_value);
|
values.push_back(serialize_json_value(js_value));
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user