Resolve "New invoice service" #1669

Merged
korina.cordero merged 105 commits from 744-new-invoice-service into master 2023-11-22 08:54:54 +00:00
2 changed files with 13 additions and 1 deletions
Showing only changes of commit abc4e31d96 - Show all commits

View file

@ -0,0 +1,6 @@
# insurance
insurance_listener:
path: /api/insurance/listen
controller: App\Controller\InsuranceController::listen
methods: [POST]

View file

@ -12,6 +12,12 @@ class InsuranceController extends Controller
{
public function listen(Request $req, EntityManagerInterface $em)
{
$payload = $req->request->all();
error_log(print_r($payload, true));
return $this->json([
'success' => true,
'payload' => $payload,
]);
}
}