diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2019-03-20 21:39:02 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-03-20 21:39:02 +0900 |
| commit | 1c79e304369d7f9f63445f800fa818448b0a8740 (patch) | |
| tree | 8acf586ef10c734331bc4be5dae52585895a9d25 /src/models/note.ts | |
| parent | Fix #4538 (#4539) (diff) | |
| download | misskey-1c79e304369d7f9f63445f800fa818448b0a8740.tar.gz misskey-1c79e304369d7f9f63445f800fa818448b0a8740.tar.bz2 misskey-1c79e304369d7f9f63445f800fa818448b0a8740.zip | |
Fix NoteReaction (#4547)
Diffstat (limited to 'src/models/note.ts')
| -rw-r--r-- | src/models/note.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/note.ts b/src/models/note.ts index af45ff966d..d4a2526317 100644 --- a/src/models/note.ts +++ b/src/models/note.ts @@ -7,7 +7,7 @@ import { length } from 'stringz'; import { IUser, pack as packUser } from './user'; import { pack as packApp } from './app'; import PollVote from './poll-vote'; -import Reaction from './note-reaction'; +import NoteReaction from './note-reaction'; import { packMany as packFileMany, IDriveFile } from './drive-file'; import Following from './following'; import Emoji from './emoji'; @@ -357,7 +357,7 @@ export const pack = async ( if (meId) { // Fetch my reaction _note.myReaction = (async () => { - const reaction = await Reaction + const reaction = await NoteReaction .findOne({ userId: meId, noteId: id, |