Commit 8cc69ee5 authored by JC Brand's avatar JC Brand

No need for a toJSON call, it's already an object

parent 7d1db660
......@@ -653,7 +653,7 @@
* this device, if the information is not at hand already.
*/
if (this.get('bundle')) {
return Promise.resolve(this.get('bundle').toJSON(), this);
return Promise.resolve(this.get('bundle'), this);
} else {
return this.fetchBundleFromServer();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment