From 16e161fe9f0a2711af65c20aef845e0b4e49a07a Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 19 Feb 2017 07:15:18 +0900 Subject: [PATCH] Remove unnecessary spaces --- src/web/app/desktop/scripts/update-avatar.js | 2 +- src/web/app/desktop/scripts/update-banner.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/app/desktop/scripts/update-avatar.js b/src/web/app/desktop/scripts/update-avatar.js index ad971f1b11..6fbe485815 100644 --- a/src/web/app/desktop/scripts/update-avatar.js +++ b/src/web/app/desktop/scripts/update-avatar.js @@ -19,7 +19,7 @@ module.exports = (I, cb, file = null) => { name: 'アイコン' }).then(iconFolder => { if (iconFolder.length === 0) { - api(I, 'drive/folders/create', { + api(I, 'drive/folders/create', { name: 'アイコン' }).then(iconFolder => { uplaod(data, iconFolder); diff --git a/src/web/app/desktop/scripts/update-banner.js b/src/web/app/desktop/scripts/update-banner.js index 9242adcea5..d47f283187 100644 --- a/src/web/app/desktop/scripts/update-banner.js +++ b/src/web/app/desktop/scripts/update-banner.js @@ -19,7 +19,7 @@ module.exports = (I, cb, file = null) => { name: 'バナー' }).then(iconFolder => { if (iconFolder.length === 0) { - api(I, 'drive/folders/create', { + api(I, 'drive/folders/create', { name: 'バナー' }).then(iconFolder => { uplaod(data, iconFolder);