Skip to content

Commit afed0c8

Browse files
author
Ali Tahir
committed
updated the example to a more appropriate filter criteria
1 parent ea48bd0 commit afed0c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agility/content-fetch",
3-
"version": "0.4.6",
3+
"version": "0.4.7",
44
"description": "JavaScript library for the Agility Fetch API (node and browser)",
55
"main": "dist/agility-content-fetch.node.js",
66
"scripts": {

src/methods/getContentList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ import {buildPathUrl, buildRequestUrlPath, buildAuthHeader } from '../utils'
4343
* take: 50,
4444
* skip: 0,
4545
* filters: [
46-
* {property: 'properties.versionID', operator: api.types.FilterOperators.EQUAL_TO, value: '40'},
47-
* {property: 'properties.referenceName', operator: api.types.FilterOperators.LIKE, value: 'posts'}
46+
* {property: 'fields.title', operator: api.types.FilterOperators.EQUAL_TO, value: '"How this site works"'},
47+
* {property: 'fields.details', operator: api.types.FilterOperators.LIKE, value: '"Lorem ipsum dolar"'}
4848
* ],
4949
* filtersLogicOperator: api.types.FilterLogicOperators.OR
5050
* })

0 commit comments

Comments
 (0)