Linting fixes

This commit is contained in:
Wes Appler 2023-11-26 18:52:47 -05:00
parent 842566a34f
commit 11082a3507

View file

@ -45,7 +45,9 @@ export async function sendDeleteForEveryoneMessage(
const timestamp = Date.now();
const maxDuration = deleteForEveryoneDuration || DAY;
if (timestamp - targetTimestamp > maxDuration) {
throw new Error(`Cannot send DOE for a message older than ${maxDuration}`);
throw new Error(
`Cannot send DOE for a message older than ${maxDuration}`
);
}
}