1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 15:45:58 +09:00
This commit is contained in:
syuilo 2018-03-16 06:02:18 +09:00
parent cada902e7a
commit 8e9d5e8e2a

View File

@ -474,7 +474,7 @@ export default class MiOS extends EventEmitter {
}).then(async (res) => {
if (--pending === 0) spinner.parentNode.removeChild(spinner);
const body = await res.json();
const body = res.status === 204 ? null : await res.json();
if (this.debug) {
req.status = res.status;