parent
0b5e3a93a5
commit
65e7204ec9
2 changed files with 44 additions and 4 deletions
|
|
@ -15,6 +15,7 @@ import { isDuplicateKeyValueError } from '../../../misc/is-duplicate-key-value-e
|
|||
import { NoteReaction } from '../../../models/entities/note-reaction';
|
||||
|
||||
export default async (user: User, note: Note, reaction?: string) => {
|
||||
// TODO: cache
|
||||
reaction = await toDbReaction(reaction, user.host);
|
||||
|
||||
let record: NoteReaction;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue