mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-01-11 11:58:47 +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))) {
|
||||
$response->set($request->uri->__toString(), new FormValidation($val));
|
||||
$response->data[$request->uri->__toString()] = new FormValidation($val);
|
||||
$response->header->status = RequestStatusCode::R_400;
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user