Resolve conflicts
This commit is contained in:
parent
281b388e39
commit
bfc193d8cd
308 changed files with 3045 additions and 3200 deletions
|
|
@ -49,7 +49,7 @@ export default (os: OS) => (cb, file = null) => {
|
|||
}).$mount();
|
||||
document.body.appendChild(dialog.$el);
|
||||
|
||||
if (folder) data.append('folder_id', folder.id);
|
||||
if (folder) data.append('folderId', folder.id);
|
||||
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open('POST', apiUrl + '/drive/files/create', true);
|
||||
|
|
@ -68,10 +68,10 @@ export default (os: OS) => (cb, file = null) => {
|
|||
|
||||
const set = file => {
|
||||
os.api('i/update', {
|
||||
banner_id: file.id
|
||||
bannerId: file.id
|
||||
}).then(i => {
|
||||
os.i.banner_id = i.banner_id;
|
||||
os.i.banner_url = i.banner_url;
|
||||
os.i.bannerId = i.bannerId;
|
||||
os.i.bannerUrl = i.bannerUrl;
|
||||
|
||||
os.apis.dialog({
|
||||
title: '%fa:info-circle%バナーを更新しました',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue