Fix bad math

This commit is contained in:
Kio-td 2023-02-11 07:18:56 -05:00
parent 1a90496318
commit 7465e8461d

View File

@ -135,7 +135,7 @@ export async function createNote(
logger.warn('Note somehow made before Activitypub was created; discarding');
return null;
}
if (DateChecker < FutureCheck) {
if (DateChecker > FutureCheck) {
logger.warn('Note somehow made after today; discarding')
return null;
}