fix type error caused by trends refactor
This commit is contained in:
parent
f19629600d
commit
949697d80a
|
@ -177,7 +177,7 @@ async function trackHashtags(event: NostrEvent): Promise<void> {
|
|||
|
||||
try {
|
||||
debug('tracking tags:', JSON.stringify(tags));
|
||||
await TrendsWorker.addTagUsages(event.pubkey, tags, date);
|
||||
await TrendsWorker.addTagUsages(event.pubkey, tags, date.valueOf());
|
||||
} catch (_e) {
|
||||
// do nothing
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue