Skip to content

Commit

Permalink
fix history route (sort issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leouarz committed Feb 18, 2022
1 parent f70de46 commit 5943233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/services/gqlQueriesBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export class GQLQueriesBuilder {
first: ${query.pagination.limit}
offset: ${(query.pagination.page - 1) * query.pagination.limit}
` : ""}
orderBy: ${query.sort ? `[${convertSortStringDistinct(query.sort)}]` : "TIMESTAMP_DESC"}
${query.sort ? convertSortStringDistinct(query.sort) : "orderBy: TIMESTAMP_DESC"}
filter: {and:[
${query.filter?.onlyNftId ?
`{nftId: {equalTo: "${query.filter.nftId}"}}`
Expand Down

0 comments on commit 5943233

Please sign in to comment.