Update migrate.ts

This commit is contained in:
syuilo 2019-04-09 21:05:49 +09:00
parent d834b832ec
commit 8e22d878e7

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,