mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-02-12 02:48:40 +00:00
use direct data access for response data
This commit is contained in:
parent
b7aff5cafd
commit
2feb4caec5
|
|
@ -142,7 +142,7 @@ final class ApiController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($val = $this->validateSessionElementCreate($request))) {
|
if (!empty($val = $this->validateSessionElementCreate($request))) {
|
||||||
$response->set($request->uri->__toString(), new FormValidation($val));
|
$response->data[$request->uri->__toString()] = new FormValidation($val);
|
||||||
$response->header->status = RequestStatusCode::R_400;
|
$response->header->status = RequestStatusCode::R_400;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user