pipeline: remove unnecessary async keyword from trackHashtags
This commit is contained in:
parent
48195f02b3
commit
22ddc7b1a8
|
@ -68,8 +68,7 @@ async function storeEvent(event: Event, data: EventData): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Track whenever a hashtag is used, for processing trending tags. */
|
/** Track whenever a hashtag is used, for processing trending tags. */
|
||||||
// deno-lint-ignore require-await
|
function trackHashtags(event: Event): void {
|
||||||
async function trackHashtags(event: Event): Promise<void> {
|
|
||||||
const date = nostrDate(event.created_at);
|
const date = nostrDate(event.created_at);
|
||||||
|
|
||||||
const tags = event.tags
|
const tags = event.tags
|
||||||
|
|
Loading…
Reference in New Issue