No need for a toJSON call, it's already an object
This commit is contained in:
parent
7d1db66056
commit
8cc69ee5fb
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user