Skip to content

Commit fb47cc6

Browse files
committed
version updated
1 parent 6460aea commit fb47cc6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ contentstackClient.login({ email: 'EMAIL', password: 'PASSWORD'})
4545
### Management Token
4646
[Management Tokens](https://www.contentstack.com/docs/developers/create-tokens/about-management-tokens/) are **stack-level** tokens, with no users attached to them.
4747
```
48-
contentstackClient.stack({ api_key: 'API_KEY', management_token: 'MANAGEMENT_TOKEN' })
48+
contentstackClient.stack({ api_key: 'API_KEY', management_token: 'MANAGEMENT_TOKEN' }).contentType('CONTENT_TYPE_UID')
4949
.fetch()
50-
.then((stack) => {
51-
console.log(stack)
50+
.then((contenttype) => {
51+
console.log(contenttype)
5252
})
5353
```
5454
### Contentstack Management JavaScript SDK: 5-minute Quickstart

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/management",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "The Content Management API is used to manage the content of your Contentstack account",
55
"main": "dist/node/contentstack-management.js",
66
"browser": "dist/web/contentstack-management.js",

0 commit comments

Comments
 (0)