Skip to content

Commit

Permalink
Fetch the / endpoint with a _fields param
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Mar 7, 2022
1 parent 571140f commit 1e462d6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/core-data/src/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ export const defaultEntities = [
name: '__unstableBase',
kind: 'root',
baseURL: '/',
baseURLParams: {
_fields: [
'description',
'gmt_offset',
'home',
'name',
'site_icon',
'site_icon_url',
'site_logo',
'timezone_string',
'url',
].join( ',' ),
},
},
{
label: __( 'Site' ),
Expand Down

0 comments on commit 1e462d6

Please sign in to comment.