Fix assets example not using correct API

This commit is contained in:
Ryan Huffman 2016-08-15 09:28:26 -07:00
parent fdbbd70eed
commit 9773c58da6

View file

@ -2,7 +2,7 @@ var data = "this is some data";
var extension = "txt";
var uploadedFile;
Assets.uploadData(data, extension, function (url) {
Assets.uploadData(data, function (url) {
print("data uploaded to:" + url);
uploadedFile = url;
Assets.downloadData(url, function (data) {