mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-01-11 17:28:41 +00:00
fix tests
This commit is contained in:
parent
39096b5342
commit
e81f58124f
|
|
@ -674,6 +674,12 @@ final class ApiController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
if (empty($uploaded)) {
|
||||
$this->createInvalidAddResponse($request, $response, []);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$this->createModelRelation(
|
||||
$request->header->account,
|
||||
(int) $request->getData('supplier'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user