fix(hydrate): return zaps_amount in gatherEventStats
This commit is contained in:
parent
c77da12f9d
commit
18648f7be3
|
@ -330,6 +330,7 @@ async function gatherEventStats(events: DittoEvent[]): Promise<DittoTables['even
|
||||||
reactions_count: Math.max(0, row.reactions_count),
|
reactions_count: Math.max(0, row.reactions_count),
|
||||||
quotes_count: Math.max(0, row.quotes_count),
|
quotes_count: Math.max(0, row.quotes_count),
|
||||||
reactions: row.reactions,
|
reactions: row.reactions,
|
||||||
|
zaps_amount: Math.max(0, row.zaps_amount),
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue