Fix downloadProjectId method (#1093)

* Fix downloadProjectId method

* use .data not .data.buffer
This commit is contained in:
Mx Corey Frang 2018-05-01 08:56:22 -04:00 committed by GitHub
parent 326d1c491a
commit dbdee0ca8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -244,7 +244,7 @@ class VirtualMachine extends EventEmitter {
const vm = this;
const promise = storage.load(storage.AssetType.Project, id);
promise.then(projectAsset => {
vm.loadProject(projectAsset.decodeText());
vm.loadProject(projectAsset.data);
});
}