mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-28 23:08:17 +09:00
Update export-custom-emojis.ts
This commit is contained in:
parent
c599a304c8
commit
ef485044ea
@ -52,7 +52,7 @@ export async function exportCustomEmojis(job: Bull.Job, done: () => void): Promi
|
||||
});
|
||||
};
|
||||
|
||||
await writeMeta('[');
|
||||
await writeMeta(`{"metaVersion":1,"emojis":[`);
|
||||
|
||||
const customEmojis = await Emojis.find({
|
||||
where: {
|
||||
@ -86,7 +86,7 @@ export async function exportCustomEmojis(job: Bull.Job, done: () => void): Promi
|
||||
await writeMeta(isFirst ? content : ',\n' + content);
|
||||
}
|
||||
|
||||
await writeMeta(']');
|
||||
await writeMeta(']}');
|
||||
|
||||
metaStream.end();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user