Skip to content

Commit

Permalink
fix sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkelemen committed Jan 22, 2024
1 parent 3d3ec0c commit 80ebd84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class Client extends events {
});

static SortOrder = Object.freeze({
ASC: "ASC",
DESC: "DESC",
ASC: "asc",
DESC: "desc",
});

constructor(customOptions) {
Expand Down
2 changes: 1 addition & 1 deletion lib/__snapshots__/Client.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports[`Client subscribe should call the API with the custom configs 1`] = `
"sorting": [
{
"sortBy": "createTime",
"sortOrder": "ASC",
"sortOrder": "asc",
},
],
"topics": [
Expand Down

0 comments on commit 80ebd84

Please sign in to comment.