Добавление нового типа сущности, добавление владельца проект в список пользователей проекта

This commit is contained in:
apuc committed 2024-02-12 22:56:40 +03:00
1 parent 32a7f483fb
commit 1a250c4b00
4 files changed
+26 -4

No files matched your search

@@ -197,7 +197,7 @@ class ProjectController extends ApiController
->one();
if (empty($projectTaskCategory)) {
throw new NotFoundHttpException('The project not found');
throw new BadRequestHttpException('This user cannot be added to the project');
}
$projectTaskCategory->title = Yii::$app->request->post('new_title');