Skip to content

Commit

Permalink
Add log
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-mn-yral committed Jun 4, 2024
1 parent c208829 commit ac12d7c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/web-client/src/lib/helpers/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ async function transformHistoryRecords(
const eventOutcome = Object.keys(
details?.['event_outcome'] || {},
)[0] as EventOutcome

console.log({ o, type, event, subType, details, eventOutcome })
history.push({
id: o[0],
type,
Expand Down Expand Up @@ -556,8 +556,12 @@ export async function fetchHistory(
BigInt(from),
BigInt(from + 10),
)

console.log('history', { res })

if ('Ok' in res) {
const history = await transformHistoryRecords(res.Ok, filter)
console.log('history', { history })

return {
error: false,
Expand Down

0 comments on commit ac12d7c

Please sign in to comment.