Fix typo: uplaod -> upload
This commit is contained in:
parent
1efa9f8ad7
commit
68e7e70dbf
2 changed files with 6 additions and 6 deletions
|
@ -23,10 +23,10 @@ module.exports = (I, cb, file = null) => {
|
||||||
api(I, 'drive/folders/create', {
|
api(I, 'drive/folders/create', {
|
||||||
name: 'アイコン'
|
name: 'アイコン'
|
||||||
}).then(iconFolder => {
|
}).then(iconFolder => {
|
||||||
uplaod(data, iconFolder);
|
upload(data, iconFolder);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uplaod(data, iconFolder[0]);
|
upload(data, iconFolder[0]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -36,7 +36,7 @@ module.exports = (I, cb, file = null) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const uplaod = (data, folder) => {
|
const upload = (data, folder) => {
|
||||||
const progress = riot.mount(document.body.appendChild(document.createElement('mk-progress-dialog')), {
|
const progress = riot.mount(document.body.appendChild(document.createElement('mk-progress-dialog')), {
|
||||||
title: '新しいアバターをアップロードしています'
|
title: '新しいアバターをアップロードしています'
|
||||||
})[0];
|
})[0];
|
||||||
|
|
|
@ -23,10 +23,10 @@ module.exports = (I, cb, file = null) => {
|
||||||
api(I, 'drive/folders/create', {
|
api(I, 'drive/folders/create', {
|
||||||
name: 'バナー'
|
name: 'バナー'
|
||||||
}).then(iconFolder => {
|
}).then(iconFolder => {
|
||||||
uplaod(data, iconFolder);
|
upload(data, iconFolder);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uplaod(data, iconFolder[0]);
|
upload(data, iconFolder[0]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -36,7 +36,7 @@ module.exports = (I, cb, file = null) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const uplaod = (data, folder) => {
|
const upload = (data, folder) => {
|
||||||
const progress = riot.mount(document.body.appendChild(document.createElement('mk-progress-dialog')), {
|
const progress = riot.mount(document.body.appendChild(document.createElement('mk-progress-dialog')), {
|
||||||
title: '新しいバナーをアップロードしています'
|
title: '新しいバナーをアップロードしています'
|
||||||
})[0];
|
})[0];
|
||||||
|
|
Loading…
Reference in a new issue