Commit c3c25bfb authored by Karamel's avatar Karamel
Browse files

Fix api/ticket/session.

parent bcbd2379
......@@ -120,8 +120,8 @@ $app->GET('/api/ticket/session/{cashregister}/{sequence}', function ($request, $
return $response->withStatus(404, 'Cash session not found');
}
$apiRes = APICaller::run($ptApp, 'ticket', 'search',
[new DAOCondition('cashRegister', '=', $session->getCashRegister()),
new DAOCondition('sequence', '=', $session->getSequence())]);
[[new DAOCondition('cashRegister', '=', $session->getCashRegister()),
new DAOCondition('sequence', '=', $session->getSequence())]]);
return $response->withApiResult($apiRes);
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment