custom prefix

This commit is contained in:
Yuri Kuznetsov
2024-02-15 16:20:51 +02:00
parent 0db4a9c672
commit 9f743b718a
10 changed files with 64 additions and 20 deletions

View File

@@ -66,7 +66,7 @@ class EntityManager
* @throws Error
* @throws Conflict
*/
public function postActionCreateEntity(Request $request): bool
public function postActionCreateEntity(Request $request): stdClass
{
$data = $request->getParsedBody();
@@ -142,9 +142,9 @@ class EntityManager
$params['kanbanStatusIgnoreList'] = $data['kanbanStatusIgnoreList'];
}
$this->entityManagerTool->create($name, $type, $params);
$name = $this->entityManagerTool->create($name, $type, $params);
return true;
return (object) ['name' => $name];
}
/**