Remove unnecessary nullish coalescing (#12058)
This commit is contained in:
@@ -318,7 +318,7 @@ export class NoteEntityService implements OnModuleInit {
|
||||
text: text,
|
||||
cw: note.cw,
|
||||
visibility: note.visibility,
|
||||
localOnly: note.localOnly ?? undefined,
|
||||
localOnly: note.localOnly,
|
||||
reactionAcceptance: note.reactionAcceptance,
|
||||
visibleUserIds: note.visibility === 'specified' ? note.visibleUserIds : undefined,
|
||||
renoteCount: note.renoteCount,
|
||||
|
Reference in New Issue
Block a user