Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Fixed error with POS services
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed May 13, 2021
1 parent 8f2ee1a commit 9a4750f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -832,15 +832,15 @@ module.exports = ({ config, db }) => {
});

/**
* POST List Sales Orders Lines
* GET List Sales Orders Lines
*
* req.query.token - user token
* req.query.page_size - custom page size for batch
* req.query.page_token - specific page token
* req.query.order_uuid - Order UUID reference
* Details:
*/
api.post('/order-lines', (req, res) => {
api.get('/order-lines', (req, res) => {
if (req.query) {
service.listOrderLines({
token: req.query.token,
Expand Down Expand Up @@ -879,7 +879,7 @@ module.exports = ({ config, db }) => {
*
* Details:
*/
api.post('/key-layout', (req, res) => {
api.get('/key-layout', (req, res) => {
if (req.query) {
service.getKeyLayout({
token: req.query.token,
Expand Down

0 comments on commit 9a4750f

Please sign in to comment.