diff --git a/src/api/ADempiere/form/point-of-sales.js b/src/api/ADempiere/form/point-of-sales.js index a9dfcdbdeb8..eaf035ec079 100644 --- a/src/api/ADempiere/form/point-of-sales.js +++ b/src/api/ADempiere/form/point-of-sales.js @@ -820,14 +820,16 @@ export function overdrawnInvoice({ */ export function validatePin({ posUuid, - pin + pin, + requestedAccess }) { return request({ url: `${config.pointOfSales.endpoint}/validate-pin`, method: 'post', data: { pos_uuid: posUuid, - pin: pin + pin: pin, + requested_access: requestedAccess } }) .then(pinResponse => {