Skip to content

Commit ab00c58

Browse files
committed
updated readme doc
1 parent 7fb5f39 commit ab00c58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ import agility from '@agility/content-fetch'
4040
//initialize the api client
4141
const api = agility.getApi({
4242
instanceID: '1234-1234',
43-
accessToken: 'fEpTcRnWO3EahHbojDCeY3PwGwAzpw2gveDuPn2l0nuqFbQYVcWrQ+a3/DHcWgCgn7UL2tgbSOS0AqrEOiXkTg==',
44-
languageCode: 'en-us'
43+
accessToken: 'fEpTcRnWO3EahHbojDCeY3PwGwAzpw2gveDuPn2l0nuqFbQYVcWrQ+a3/DHcWgCgn7UL2tgbSOS0AqrEOiXkTg=='
4544
});
4645

4746
//make the request: get a content item with the ID '22'
4847
api.getContentItem({
49-
contentID: 22
48+
contentID: 22,
49+
languageCode: 'en-us'
5050
})
5151
.then(function(contentItem) {
5252
//on success

0 commit comments

Comments
 (0)