Linting fixes
This commit is contained in:
parent
842566a34f
commit
11082a3507
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ export async function sendDeleteForEveryoneMessage(
|
||||||
const timestamp = Date.now();
|
const timestamp = Date.now();
|
||||||
const maxDuration = deleteForEveryoneDuration || DAY;
|
const maxDuration = deleteForEveryoneDuration || DAY;
|
||||||
if (timestamp - targetTimestamp > maxDuration) {
|
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}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue