Skip to content

Commit

Permalink
Sorted get all transaction history by date desc (#12)
Browse files Browse the repository at this point in the history
* Sorted get all transaction history by date desc

* removed extra line

---------

Co-authored-by: Carl Calaquian <[email protected]>
  • Loading branch information
camcalaquian and camcalaquian authored Aug 17, 2023
1 parent bdd6f74 commit 6ee4bce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ $ python3 luxor.py --help

Example usage:
```bash
python3 luxor.py -k KEY -f get_transaction_history -p username,BTC,10
python3 luxor.py get-transaction-history username BTC 10
```

## Developing
Expand Down
2 changes: 1 addition & 1 deletion luxor.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_all_transaction_history(
"""

query = """query getAllTransactionHistory($cid: CurrencyProfileName!, $uname: String!, $first: Int) {
getAllTransactionHistory(cid: $cid, uname: $uname, first: $first) {
getAllTransactionHistory(cid: $cid, uname: $uname, first: $first, orderBy: CREATED_AT_DESC) {
edges {
node {
transactionId
Expand Down

0 comments on commit 6ee4bce

Please sign in to comment.