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

This commit is contained in:
JC Brand 2018-08-20 11:17:26 +02:00
parent 7d1db66056
commit 8cc69ee5fb

View File

@ -653,7 +653,7 @@
* this device, if the information is not at hand already. * this device, if the information is not at hand already.
*/ */
if (this.get('bundle')) { if (this.get('bundle')) {
return Promise.resolve(this.get('bundle').toJSON(), this); return Promise.resolve(this.get('bundle'), this);
} else { } else {
return this.fetchBundleFromServer(); return this.fetchBundleFromServer();
} }