diff --git a/package.json b/package.json index 6729a11f74..8d275fcb8a 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 dad720827b..6b88b51ef1 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 79d130f94b..09632b1941 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',