u
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user