Skip to content
Snippets Groups Projects
Commit f33cd44b authored by Florian Azizian's avatar Florian Azizian
Browse files

getparams instead of getqueryparams

parent 8c46310d
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ use Core\Models\ParametersModel;
->withJson(['errors' => $errors]);
}
$datas = $request->getQueryParams();
$datas = $request->getParams();
$return = ParametersModel::create($datas);
......@@ -74,7 +74,7 @@ use Core\Models\ParametersModel;
->withJson(['errors' => $errors]);
}
$aArgs = $request->getQueryParams();
$aArgs = $request->getParams();
$return = ParametersModel::update($aArgs);
if ($return) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment