fix(hydrate): return zaps_amount in gatherEventStats

This commit is contained in:
P. Reis 2024-06-10 10:00:58 -03:00
parent c77da12f9d
commit 18648f7be3
1 changed files with 1 additions and 0 deletions

View File

@ -330,6 +330,7 @@ async function gatherEventStats(events: DittoEvent[]): Promise<DittoTables['even
reactions_count: Math.max(0, row.reactions_count),
quotes_count: Math.max(0, row.quotes_count),
reactions: row.reactions,
zaps_amount: Math.max(0, row.zaps_amount),
}));
}