Skip to content

Commit

Permalink
fix: add missed sort parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dantio committed Jun 28, 2022
1 parent eb7c350 commit f4cf095
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/restful/sell/finances/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ export default class Finances extends Restful {
filter,
limit,
offset,
sort
}: {
filter?: string;
limit?: number;
offset?: number;
sort?: 'transactionDate'|'-transactionDate',
sort?: 'transactionDate' | '-transactionDate',
} = {}) {
return this.get(`/transaction`, {
params: {
Expand Down

0 comments on commit f4cf095

Please sign in to comment.