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

@@ -1704,7 +1704,8 @@
* clientversion: * clientversion:
* type: string * type: string
* nullable: true * nullable: true
* description: Client software version reported by POS terminal * readOnly: true
* description: Client software version reported by POS terminal during pairing (read-only)
* lastseenAt: * lastseenAt:
* type: string * type: string
* nullable: true * nullable: true

View File

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