Skip to content

Commit

Permalink
typecast app const to nmb
Browse files Browse the repository at this point in the history
  • Loading branch information
codemist committed Aug 29, 2024
1 parent b9f776b commit 5401ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/tables/subscribers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ async function setBreachResolution(
async function deleteUnverifiedSubscribers() {
// @ts-ignore DELETE_UNVERIFIED_SUBSCRIBERS_TIMER should not be undefined
const expiredDateTime = new Date(
Date.now() - DELETE_UNVERIFIED_SUBSCRIBERS_TIMER * 1000,
Date.now() - Number(DELETE_UNVERIFIED_SUBSCRIBERS_TIMER) * 1000,
);
const expiredTimeStamp = expiredDateTime.toISOString();
const numDeleted = await knex("subscribers")
Expand Down

0 comments on commit 5401ecb

Please sign in to comment.