mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-16 09:48:41 +00:00
test fixes
This commit is contained in:
parent
9bc766ff1c
commit
a746dd3370
|
|
@ -504,7 +504,7 @@ final class ApiController extends Controller
|
||||||
$exporter = $this->getExporter((int) $settings[SettingsEnum::DEFAULT_LIST_EXPORT]->content);
|
$exporter = $this->getExporter((int) $settings[SettingsEnum::DEFAULT_LIST_EXPORT]->content);
|
||||||
if ($exporter === null) {
|
if ($exporter === null) {
|
||||||
$response->header->status = RequestStatusCode::R_404;
|
$response->header->status = RequestStatusCode::R_404;
|
||||||
$this->createInvalidReturnResponse($request, $response, null);
|
$this->createInvalidReturnResponse($request, $response, []);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user