Skip to content
Snippets Groups Projects
Commit ef485044 authored by syuilo's avatar syuilo
Browse files

Update export-custom-emojis.ts

parent c599a304
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment