mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix(hydrate): return zaps_amount in gatherEventStats
This commit is contained in:
parent
c77da12f9d
commit
18648f7be3
1 changed files with 1 additions and 0 deletions
|
|
@ -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),
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue