u
This commit is contained in:
@@ -1704,7 +1704,8 @@
|
||||
* clientversion:
|
||||
* type: string
|
||||
* 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:
|
||||
* type: string
|
||||
* nullable: true
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user