Skip to content

Commit

Permalink
changed sort property on sort content list to content id
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesRao98 committed Nov 8, 2021
1 parent 3f2029f commit bdaf75c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
"url": "git+https://github.com/agility/agility-content-fetch-js-sdk.git"
},
"author": "Agility CMS",
"contributors": ["James Vidler", "Joel Varty", "Joshua Isaac"],
"contributors": [
"James Vidler",
"Joel Varty",
"Joshua Isaac"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/agility/agility-content-fetch-js-sdk/issues"
Expand Down
2 changes: 1 addition & 1 deletion test/getContentList.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe('getContentList:', function() {
api.getContentList({
referenceName: 'posts',
locale: 'en-us',
sort: 'properties.versionID',
sort: 'properties.contentID',
direction: api.types.SortDirections.DESC
})
.then(function(contentList) {
Expand Down

0 comments on commit bdaf75c

Please sign in to comment.