diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2024-09-21 19:44:14 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2024-09-21 19:44:14 +0900 |
| commit | 3d92ef193e3922441f8a9e211dec0d5a7a68252e (patch) | |
| tree | 898235818067d178a8b9bb517a966d77bb500cd3 /packages/backend/src/core/ReactionService.ts | |
| parent | :art: (diff) | |
| download | sharkey-3d92ef193e3922441f8a9e211dec0d5a7a68252e.tar.gz sharkey-3d92ef193e3922441f8a9e211dec0d5a7a68252e.tar.bz2 sharkey-3d92ef193e3922441f8a9e211dec0d5a7a68252e.zip | |
fix rbt
Diffstat (limited to 'packages/backend/src/core/ReactionService.ts')
| -rw-r--r-- | packages/backend/src/core/ReactionService.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/backend/src/core/ReactionService.ts b/packages/backend/src/core/ReactionService.ts index 5993c42a1f..db8fe1a838 100644 --- a/packages/backend/src/core/ReactionService.ts +++ b/packages/backend/src/core/ReactionService.ts @@ -197,11 +197,6 @@ export class ReactionService { // Increment reactions count if (meta.enableReactionsBuffering) { await this.reactionsBufferingService.create(note.id, user.id, reaction, note.reactionAndUserPairCache); - - // for debugging - if (reaction === ':angry_ai:') { - this.reactionsBufferingService.bake(); - } } else { const sql = `jsonb_set("reactions", '{${reaction}}', (COALESCE("reactions"->>'${reaction}', '0')::int + 1)::text::jsonb)`; await this.notesRepository.createQueryBuilder().update() |