From 83a36c1c66f254216caae04af10a549aef25925c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 24 Jul 2023 06:01:32 +0000 Subject: [PATCH] added api functions --- Module/ModuleAbstract.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Module/ModuleAbstract.php b/Module/ModuleAbstract.php index 0dd80bf95..40a565d93 100755 --- a/Module/ModuleAbstract.php +++ b/Module/ModuleAbstract.php @@ -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,