mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-07 07:34:25 +01:00
fix(hydrate): return zaps_amount in gatherEventStats
This commit is contained in:
@@ -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),
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user