File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ class ContentstackDemo {
60
60
* @params : contentTypeUid {string} - Content-Type from which entries to be retrieved
61
61
* @return : Result {Promise}
62
62
*/
63
- getContentType ( ) {
63
+ getContentType ( uid ) {
64
64
//contentTypeUid = contentTypeUid || 'source'
65
65
// return this.Stack.getContentType(uid)
66
- // return this.Stack.ContentType(uid).fetch({"include_global_field_schema": false} )
67
- return this . Stack . getContentTypes ( { "include_global_field_schema" : false } )
66
+ // return this.Stack.ContentType(uid).Entry("blta07130f8b344b260").includeReferenceContentTypeUID().includeSchema().toJSON().fetch( )
67
+ // return this.Stack.getContentTypes({"include_global_field_schema": true })
68
68
}
69
69
70
70
/**
You can’t perform that action at this time.
0 commit comments