From 324025b1b25dfaf30a1aadff5546c9eb1099920e Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Sun, 13 Jan 2019 03:13:19 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B0=D1=8F=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/api/reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/api/reader.js b/client/api/reader.js index f74d7db9..33b69fd6 100644 --- a/client/api/reader.js +++ b/client/api/reader.js @@ -24,7 +24,7 @@ class Reader { if (callback) callback(response.data); if (response.data.state == 'finish') { - let book = await axios.get(response.data.path, {}); + const book = await axios.get(response.data.path, {}); return Object.assign({}, response.data, {data: book.data}); } if (response.data.state == 'error') {