Skip to content

Commit

Permalink
πŸš‘ server: add missing card activity field
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Nov 26, 2024
1 parent 9e2a713 commit 638fd18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api/activity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export default app.get(
{ 0: DebitActivity, 1: CreditActivity }[borrow?.events.length ?? 0] ?? InstallmentsActivity,
{
...(payload as object),
hash,
events: borrow?.events,
blockTimestamp: borrow?.blockNumber && timestamps.get(borrow.blockNumber),
},
Expand Down

0 comments on commit 638fd18

Please sign in to comment.