mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-01-10 17:08:41 +00:00
more code fixes
This commit is contained in:
parent
bd64e5cb31
commit
08faa93dd4
|
|
@ -71,7 +71,7 @@ final class ApiAttributeController extends Controller
|
|||
->with('type')
|
||||
->where('type/id', $type->id)
|
||||
->where('ref', (int) $request->getData('ref'))
|
||||
->execute();
|
||||
->executeCount();
|
||||
|
||||
if ($attr > 0) {
|
||||
$response->header->status = RequestStatusCode::R_409;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user