Fix bad math
This commit is contained in:
parent
93444e1944
commit
cd6a1d09f5
|
@ -135,7 +135,7 @@ export async function createNote(
|
||||||
logger.warn('Note somehow made before Activitypub was created; discarding');
|
logger.warn('Note somehow made before Activitypub was created; discarding');
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (DateChecker < FutureCheck) {
|
if (DateChecker > FutureCheck) {
|
||||||
logger.warn('Note somehow made after today; discarding')
|
logger.warn('Note somehow made after today; discarding')
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue