mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
added api functions
This commit is contained in:
parent
513df8987b
commit
83a36c1c66
|
|
@ -453,6 +453,7 @@ abstract class ModuleAbstract
|
|||
mixed $obj
|
||||
) : void
|
||||
{
|
||||
// @todo: consider to set different status code? (also for other createInvalid() functions)
|
||||
$response->header->set('Content-Type', MimeType::M_JSON . '; charset=utf-8', true);
|
||||
$response->data[$request->uri->__toString()] = [
|
||||
'status' => NotificationLevel::WARNING,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user