Skip to content

Commit

Permalink
Expand site_name acceptable types to include boolean accounting for p…
Browse files Browse the repository at this point in the history
…urged sites (#96096)

* Expand site_name acceptable types to include boolean accounting for purged sites

* Another one
  • Loading branch information
lsl authored Nov 6, 2024
1 parent 3f9b417 commit e0ba055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/state/connected-applications/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
properties: {
site_ID: { type: 'string' },
site_URL: { type: 'string' },
site_name: { type: 'string' },
site_name: { type: [ 'string', 'boolean' ] },
},
required: [ 'site_ID', 'site_URL', 'site_name' ],
additionalProperties: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
properties: {
site_ID: { type: 'string' },
site_URL: { type: 'string' },
site_name: { type: 'string' },
site_name: { type: [ 'string', 'boolean' ] },
},
required: [ 'site_ID', 'site_URL', 'site_name' ],
additionalProperties: false,
Expand Down

0 comments on commit e0ba055

Please sign in to comment.