This commit is contained in:
seb
2026-10-29 03:28:41 +01:00
parent bcdfba1742
commit 6a80473594
2 changed files with 2 additions and 8 deletions

View File

@@ -256,9 +256,6 @@ export function register(app, basePath = '') {
* type: integer
* enabled:
* type: boolean
* clientversion:
* type: string
* nullable: true
* pairingpin:
* type: string
* nullable: true
@@ -344,10 +341,6 @@ export function register(app, basePath = '') {
payload.enabled = Boolean(req.body.enabled);
}
if (req.body.clientversion !== undefined) {
payload.clientversion = req.body.clientversion ? String(req.body.clientversion).trim() : null;
}
if (req.body.pairingpin !== undefined) {
payload.pairingpin = req.body.pairingpin ? String(req.body.pairingpin).trim() : null;
}