From 9a09ed62902f4cb27c602993f53e465febd531e4 Mon Sep 17 00:00:00 2001 From: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com> Date: Wed, 17 Jul 2019 17:13:38 +0900 Subject: [PATCH] Cleanup source (#5177) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Cleanup source * 🙏 --- package.json | 2 +- src/client/app/desktop/api/update-avatar.ts | 2 +- src/client/app/desktop/api/update-banner.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6729a11f7..8d275fcb8 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "@fortawesome/free-solid-svg-icons": "5.9.0", "@fortawesome/vue-fontawesome": "0.1.6", "@koa/cors": "3.0.0", - "@typescript-eslint/parser": "1.11.0", "@types/bcryptjs": "2.4.2", "@types/bull": "3.5.15", "@types/cbor": "2.0.0", @@ -99,6 +98,7 @@ "@types/webpack-stream": "3.2.10", "@types/websocket": "0.0.40", "@types/ws": "6.0.1", + "@typescript-eslint/parser": "1.11.0", "animejs": "3.0.1", "apexcharts": "3.8.2", "autobind-decorator": "2.4.0", diff --git a/src/client/app/desktop/api/update-avatar.ts b/src/client/app/desktop/api/update-avatar.ts index dad720827..6b88b51ef 100644 --- a/src/client/app/desktop/api/update-avatar.ts +++ b/src/client/app/desktop/api/update-avatar.ts @@ -84,7 +84,7 @@ export default ($root: any) => { return i; }).catch(err => { - switch(err.id) { + switch (err.id) { case 'f419f9f8-2f4d-46b1-9fb4-49d3a2fd7191': $root.dialog({ type: 'error', diff --git a/src/client/app/desktop/api/update-banner.ts b/src/client/app/desktop/api/update-banner.ts index 79d130f94..09632b194 100644 --- a/src/client/app/desktop/api/update-banner.ts +++ b/src/client/app/desktop/api/update-banner.ts @@ -84,7 +84,7 @@ export default ($root: any) => { return i; }).catch(err => { - switch(err.id) { + switch (err.id) { case '75aedb19-2afd-4e6d-87fc-67941256fa60': $root.dialog({ type: 'error',