Skip to content

Commit

Permalink
Fix downloadProjectId method (#1093)
Browse files Browse the repository at this point in the history
* Fix downloadProjectId method

* use .data not .data.buffer
  • Loading branch information
gnarf committed May 1, 2018
1 parent 326d1c4 commit dbdee0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/virtual-machine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}

Expand Down

0 comments on commit dbdee0c

Please sign in to comment.