emojigen wip18
This commit is contained in:
parent
a8337b0964
commit
c8331b5822
@ -159,16 +159,16 @@ export default defineComponent({
|
|||||||
marker
|
marker
|
||||||
});
|
});
|
||||||
|
|
||||||
const emojiAdd = async (fileId) => {
|
const emojiAdd = (fileId) => new Promise(async resolve => {
|
||||||
await os.api('drive/files/update', {
|
await os.api('drive/files/update', {
|
||||||
fileId,
|
fileId,
|
||||||
name: this.emojiName + '.png',
|
name: this.emojiName + '.png',
|
||||||
});
|
});
|
||||||
return await os.api('admin/emoji/add', {
|
resolve( await os.api('admin/emoji/add', {
|
||||||
fileId,
|
fileId,
|
||||||
})
|
}));
|
||||||
|
|
||||||
}
|
})
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user