File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,12 +42,11 @@ export default function Request(options) {
4242 queryParams = serialize ( options . body ) ;
4343 }
4444
45-
4645 fetch ( url + '?' + queryParams , {
4746 method : 'GET' ,
4847 headers : headers
4948 } )
50- . then ( function ( response ) {
49+ . then ( function ( response ) {
5150 if ( response . ok && response . status === 200 ) {
5251 let data = response . json ( ) ;
5352 resolve ( data ) ;
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ export default class Entry {
190190 */
191191 includeSchema ( ) {
192192 this . _query [ 'include_schema' ] = true ;
193+ this . _query [ 'include_snippet_schema' ] = true ;
193194 return this ;
194195 }
195196
@@ -226,6 +227,7 @@ export default class Entry {
226227 */
227228 includeContentType ( ) {
228229 this . _query [ 'include_content_type' ] = true ;
230+ this . _query [ 'include_snippet_schema' ] = true ;
229231 return this ;
230232 }
231233
Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ export default class Query extends Entry {
652652 query : this . _query
653653 }
654654 } ;
655- return Utils . sendRequest ( this ) ;
655+ return Utils . sendRequest ( this ) ;
656656 }
657657
658658 /**
You can’t perform that action at this time.
0 commit comments