File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function DeliveryToken (http, data = {}) {
1818 * import * as contentstack from 'contentstack'
1919 * const client = contentstack.client({})
2020 *
21- * client.stack('api_key').deliveryToken('content_type_uid ').fetch()
21+ * client.stack('api_key').deliveryToken('delivery_token_uid ').fetch()
2222 * .then((deliveryToken) => {
2323 * deliveryToken.title = 'My New Content Type'
2424 * deliveryToken.description = 'Content Type description'
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export function Environment (http, data = {}) {
1616 * import * as contentstack from 'contentstack'
1717 * const client = contentstack.client({})
1818 *
19- * client.stack('api_key').environment('content_type_uid ').fetch()
19+ * client.stack('api_key').environment('uid ').fetch()
2020 * .then((environment) => {
2121 * environment.title = 'My New Content Type'
2222 * environment.description = 'Content Type description'
@@ -36,7 +36,7 @@ export function Environment (http, data = {}) {
3636 * import * as contentstack from 'contentstack'
3737 * const client = contentstack.client({})
3838 *
39- * client.stack('api_key').environment('delivery_token_uid ').delete()
39+ * client.stack('api_key').environment('uid ').delete()
4040 * .then((notice) => console.log(notice))
4141 */
4242 this . delete = deleteEntity ( http )
@@ -50,7 +50,7 @@ export function Environment (http, data = {}) {
5050 * import * as contentstack from 'contentstack'
5151 * const client = contentstack.client({})
5252 *
53- * client.stack('api_key').environment('delivery_token_uid ').fetch()
53+ * client.stack('api_key').environment('uid ').fetch()
5454 * .then((environment) => console.log(environment))
5555 *
5656 */
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export function GlobalField (http, data = {}) {
2525 * import * as contentstack from 'contentstack'
2626 * const client = contentstack.client({})
2727 *
28- * client.stack('api_key').globalField('content_type_uid ').fetch()
28+ * client.stack('api_key').globalField('global_field_uid ').fetch()
2929 * .then((globalField) => {
3030 * globalField.title = 'My New Content Type'
3131 * globalField.description = 'Content Type description'
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export function ReleaseItem (http, data = {}) {
2424 * import * as contentstack from 'contentstack'
2525 * const client = contentstack.client({})
2626 *
27- * client.stack('api_key').contentType('content_type_uid ').delete()
27+ * client.stack('api_key').release('release_uid ').delete()
2828 * .then((notice) => console.log(notice))
2929 */
3030 this . delete = async ( param ) => {
You can’t perform that action at this time.
0 commit comments