Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Add params Requested Access (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez authored Aug 26, 2022
1 parent ca58373 commit 97b6d6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/api/ADempiere/form/point-of-sales.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 97b6d6e

Please sign in to comment.