From 6a8047359426ead5c17f76dbab174bb915eea70d Mon Sep 17 00:00:00 2001 From: seb Date: Thu, 29 Oct 2026 03:28:41 +0100 Subject: [PATCH] u --- src/api/openapi.js | 3 ++- src/api/routes/posterminal.js | 7 ------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/api/openapi.js b/src/api/openapi.js index 624bb5e..3e55e93 100644 --- a/src/api/openapi.js +++ b/src/api/openapi.js @@ -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 diff --git a/src/api/routes/posterminal.js b/src/api/routes/posterminal.js index dbdcfa6..7c0e156 100644 --- a/src/api/routes/posterminal.js +++ b/src/api/routes/posterminal.js @@ -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; }