pick lints

This commit is contained in:
dakkar 2024-12-17 10:06:30 +00:00
parent 46432161b8
commit 799cc0d098

View file

@ -104,7 +104,7 @@ export class FeedService {
} }
// this logic is copied from NoteEntityService.hideNote // this logic is copied from NoteEntityService.hideNote
private compareDates(reference, createdAt: Date): boolean { private compareDates(reference: number | null, createdAt: Date): boolean {
if ((reference != null) if ((reference != null)
&& ( && (
(reference <= 0 && (Date.now() - createdAt.getTime() > 0 - (reference * 1000))) (reference <= 0 && (Date.now() - createdAt.getTime() > 0 - (reference * 1000)))