Skip to content

Commit d60fa7e

Browse files
committed
Entry import method added
1 parent 777d777 commit d60fa7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/stack/contentType/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export function ContentType (http, data = {}) {
162162
* const client = contentstack.client()
163163
*
164164
* const data = {
165-
* content_type: 'path/to/file.png',
165+
* content_type: 'path/to/file.json',
166166
* }
167167
* client.stack({ api_key: 'api_key'}).contentType().import(data)
168168
* .then((contentType) => console.log(contentType))

lib/stack/globalField/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function GlobalField (http, data = {}) {
113113
* const client = contentstack.client()
114114
*
115115
* const data = {
116-
* global_field: 'path/to/file.png',
116+
* global_field: 'path/to/file.json',
117117
* }
118118
* client.stack({ api_key: 'api_key'}).globalField().import(data)
119119
* .then((globalField) => console.log(globalField))

0 commit comments

Comments
 (0)