Update migrate.ts

This commit is contained in:
syuilo 2019-04-09 21:05:49 +09:00
parent c62f3e0e45
commit 74a4bd704c
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ async function main() {
}
async function migrateEmoji(emoji: any) {
await NoteReactions.save({
await Emojis.save({
id: emoji._id.toHexString(),
updatedAt: emoji.createdAt,
aliases: emoji.aliases,