mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 07:03:09 +02:00
chore: lint
This commit is contained in:
parent
4359a13946
commit
e123236733
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ export class NoteDeleteService {
|
|||
await this.notesRepository.decrement({ id: note.replyId }, 'repliesCount', 1);
|
||||
}
|
||||
|
||||
if (note.renoteId && note.renote?.userId != user.id && note.text == null && !note.hasPoll && (note.fileIds == null || note.fileIds.length === 0)) {
|
||||
if (note.renoteId && note.renote?.userId !== user.id && note.text == null && !note.hasPoll && (note.fileIds == null || note.fileIds.length === 0)) {
|
||||
await this.notesRepository.decrement({ id: note.renoteId }, 'renoteCount', 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue