mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 15:26:08 +02:00
inc/dec score
This commit is contained in:
@@ -49,7 +49,8 @@ export default async (user: User, note: Note, reaction?: string) => {
|
||||
})
|
||||
.where('id = :id', { id: note.id })
|
||||
.execute();
|
||||
// v11 inc score
|
||||
|
||||
Notes.increment({ id: note.id }, 'score', 1);
|
||||
|
||||
perUserReactionsChart.update(user, note);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user