Skip to content

Commit 4406566

Browse files
committed
docs: 📝 Update documentation
1 parent dfa6c88 commit 4406566

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

lib/stack/asset/folders/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function Folder (http, data = {}) {
7979
* import * as contentstack from '@contentstack/management'
8080
* const client = contentstack.client()
8181
* const asset = {name: 'My New contentType'}
82-
* client.stack().asset().folders().create({ asset })
82+
* client.stack().asset().folder().create({ asset })
8383
* .then((folder) => console.log(folder))
8484
*/
8585
this.create = create({ http: http })

package-lock.json

Lines changed: 13 additions & 13 deletions
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
@@ -34,7 +34,7 @@
3434
"test:debug": "BABEL_ENV=test mocha debug --require @babel/register ./test",
3535
"lint": "eslint lib test",
3636
"format": "eslint --fix lib test",
37-
"prepare" : "npm run build && npm run generate:docs",
37+
"prepare": "npm run build && npm run generate:docs",
3838
"pretest": "rimraf coverage && npm run lint",
3939
"precommit": "npm run lint",
4040
"prepush": "npm run test:unit",

0 commit comments

Comments
 (0)