Skip to content

Commit

Permalink
fix schema issues
Browse files Browse the repository at this point in the history
  • Loading branch information
UnchartedBull committed Jun 9, 2021
1 parent d0e372b commit 036561e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
5 changes: 1 addition & 4 deletions helper/config.schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,14 @@ const configSchema = {
ambientSensorID: {
$id: '#/properties/plugins/properties/enclosure/properties/ambientSensorID',
type: ['number', 'null'],
pattern: '^(.*)$',
},
filament1SensorID: {
$id: '#/properties/plugins/properties/enclosure/properties/filament1SensorID',
type: ['number', 'null'],
pattern: '^(.*)$',
},
filament2SensorID: {
$id: '#/properties/plugins/properties/enclosure/properties/filament2SensorID',
type: ['number', 'null'],
pattern: '^(.*)$',
},
},
},
Expand Down Expand Up @@ -197,7 +194,7 @@ const configSchema = {
required: ['enabled'],
properties: {
enabled: {
$id: '#/properties/plugins/properties/printTimeGenius/properties/enabled',
$id: '#/properties/plugins/properties/psuControl/properties/enabled',
type: 'boolean',
},
},
Expand Down
16 changes: 9 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 036561e

Please sign in to comment.