From 47431d31244568d2d311ee32fe4c53483acc450f Mon Sep 17 00:00:00 2001 From: James Vidler Date: Mon, 20 Jan 2020 11:26:54 -0500 Subject: [PATCH] fixed typo in docs regarding **properties.created** --- src/methods/getContentList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/methods/getContentList.js b/src/methods/getContentList.js index d41b4d6..f5217b3 100644 --- a/src/methods/getContentList.js +++ b/src/methods/getContentList.js @@ -9,7 +9,7 @@ import {buildPathUrl, buildRequestUrlPath, buildAuthHeader } from '../utils' * @param {number} [requestParams.contentLinkDepth] - The depth, representing the levels in which you want linked content auto-resolved. Default is 1. * @param {number} [requestParams.take] - The maximum number of items to retrieve in this request. Default is **10**. Maximum allowed is **50**. * @param {number} [requestParams.skip] - The number of items to skip from the list. Default is **0**. Used for implementing pagination. - * @param {string} [requestParams.sort] - The field to sort the results by. Example *fields.title* or *properties.created*. + * @param {string} [requestParams.sort] - The field to sort the results by. Example *fields.title* or *properties.modified*. * @param {AgilityFetch.Types.SortDirection} [requestParams.direction] - The direction to sort the results by. * @param {Array.} [requestParams.filters] - The collection of filters to filter the results by. * @param {AgilityFetch.Types.FilterLogicOperator} [requestParams.filtersLogicOperator] - The logic operator to combine multiple filters. @@ -28,7 +28,7 @@ import {buildPathUrl, buildRequestUrlPath, buildAuthHeader } from '../utils' * languageCode: 'en-us', * take: 50, * skip: 0, - * sort: 'properties.created', + * sort: 'properties.modified', * direction: api.types.SortDirections.ASC * }) * .then(function(contentList) {