Работа над загрузкой файлов на сервер

This commit is contained in:
Book Pauk
2019-02-04 20:37:32 +07:00
parent edc2819965
commit fb852b5dcb
2 changed files with 15 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ class ReaderController extends BaseController {
let error = '';
try {
const url = await this.readerWorker.saveFile(file);
return ({url});
return {url};
} catch (e) {
error = e.message;
}