File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,11 @@ export default function Request(options) {
42
42
queryParams = serialize ( options . body ) ;
43
43
}
44
44
45
-
46
45
fetch ( url + '?' + queryParams , {
47
46
method : 'GET' ,
48
47
headers : headers
49
48
} )
50
- . then ( function ( response ) {
49
+ . then ( function ( response ) {
51
50
if ( response . ok && response . status === 200 ) {
52
51
let data = response . json ( ) ;
53
52
resolve ( data ) ;
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ export default class Entry {
190
190
*/
191
191
includeSchema ( ) {
192
192
this . _query [ 'include_schema' ] = true ;
193
+ this . _query [ 'include_snippet_schema' ] = true ;
193
194
return this ;
194
195
}
195
196
@@ -226,6 +227,7 @@ export default class Entry {
226
227
*/
227
228
includeContentType ( ) {
228
229
this . _query [ 'include_content_type' ] = true ;
230
+ this . _query [ 'include_snippet_schema' ] = true ;
229
231
return this ;
230
232
}
231
233
Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ export default class Query extends Entry {
652
652
query : this . _query
653
653
}
654
654
} ;
655
- return Utils . sendRequest ( this ) ;
655
+ return Utils . sendRequest ( this ) ;
656
656
}
657
657
658
658
/**
You can’t perform that action at this time.
0 commit comments