mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
custom prefix
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user