mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-13 08:48:43 +00:00
fix tests
This commit is contained in:
parent
5debdb9985
commit
9f18aa578e
|
|
@ -447,6 +447,12 @@ final class ApiController extends Controller
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (empty($uploaded)) {
|
||||||
|
$this->createInvalidAddResponse($request, $response, []);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$this->createModelRelation(
|
$this->createModelRelation(
|
||||||
$request->header->account,
|
$request->header->account,
|
||||||
(int) $request->getData('doc'),
|
(int) $request->getData('doc'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user