From 8e9d5e8e2af515e17eb4add5bd8890c53fce90c3 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Fri, 16 Mar 2018 06:02:18 +0900
Subject: [PATCH] Fix bug

---
 src/web/app/common/mios.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts
index aa07cb0224..1669504af4 100644
--- a/src/web/app/common/mios.ts
+++ b/src/web/app/common/mios.ts
@@ -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;