Skip to content

Commit

Permalink
hotfix: get_statement method bug (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoosnick committed Sep 28, 2023
1 parent 8844876 commit d95c11a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/payme/methods/get_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ def __call__(self, params: dict):
'time': int(t.created_at.timestamp()),
'amount': t.amount,
'account': {'order_id': t.order_id},
'create_time': t.state,
'create_time': t.created_at_ms,
'perform_time': t.perform_time,
'cancel_time': t.cancel_time,
'transaction': t.order_id,
'state': t.state,
'reason': t.reason,
'reason': int(t.reason) if t.reason is not None else None,
'receivers': [] # not implemented
} for t in transactions
]
Expand Down

0 comments on commit d95c11a

Please sign in to comment.