fix type error caused by trends refactor

This commit is contained in:
Siddharth Singh 2024-05-20 00:11:29 +05:30
parent f19629600d
commit 949697d80a
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -177,7 +177,7 @@ async function trackHashtags(event: NostrEvent): Promise<void> {
try { try {
debug('tracking tags:', JSON.stringify(tags)); debug('tracking tags:', JSON.stringify(tags));
await TrendsWorker.addTagUsages(event.pubkey, tags, date); await TrendsWorker.addTagUsages(event.pubkey, tags, date.valueOf());
} catch (_e) { } catch (_e) {
// do nothing // do nothing
} }