diff --git a/README.md b/README.md
index 7c618fe..a683e4d 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
# :sparkles: Check Task Back-End :sparkles:
## Team
-|
|
|
|
|
|
+|
|
|
|
|
|
|:-:|:-:|:-:|:-:|:-:|
-|김정민
[@JungMINI-developer](https://github.com/JungMINI-developer)|오소윤
[@soyun0318](https://github.com/soyun0318)|정규은
[@jeongkyueun](https://github.com/jeongkyueun)|양우영
[@yangwooyoung123](https://github.com/yangwooyoung123)|선준우
[@junu999](https://github.com/junu999)|
-|Back-End
(팀장)|Back-End|Back-End|Back-End|Back-End
-
+| [제이엠/김정민](https://github.com/JungMINI-developer) | [소리/오소윤](https://github.com/soyun0318) | [제로/정규은](https://github.com/jeongkyueun) | [우변/양우영](https://github.com/yangwooyoung123) | [페이커/선준우](https://github.com/junu999) |
+| **Back-End (팀장)** | **Back-End** | **Back-End** | **Back-End** | **Back-End** |
+| 백엔드 총괄
초기 세팅
알림 기능 구현 | 과제 관련 기능 구현 | 팀 과제 세부 기능 구현 | 로그인 기능 구현
배포 및 운영 환경 구성 | 유저 관련 기능 구현 |
## ⚙️ 시스템 구성도
diff --git a/src/services/task.service.js b/src/services/task.service.js
index f504115..a6374b0 100644
--- a/src/services/task.service.js
+++ b/src/services/task.service.js
@@ -67,6 +67,9 @@ class TaskService {
if (folder.userId !== userId) {
throw new ForbiddenError("권한이 없는 폴더입니다.");
}
+ if (folder.folderTitle === "팀" || folder.folderTitle === "팀 과제") {
+ throw new BadRequestError("INVALID_FOLDER", "개인 과제는 팀 과제 전용 폴더에 생성할 수 없습니다.");
+ }
}
return await prisma.$transaction(async (tx) => {
diff --git a/src/swagger/swagger.yml b/src/swagger/swagger.yml
index 47a87e5..e161884 100644
--- a/src/swagger/swagger.yml
+++ b/src/swagger/swagger.yml
@@ -1098,8 +1098,8 @@ paths:
example:
resultType: "FAIL"
code: 400
- errorCode: "BAD_REQUEST | TEAM_FOLDER_REQUIRED"
- reason: "과제명은 필수입니다. | 팀 과제는 '팀' 폴더에만 생성할 수 있습니다."
+ errorCode: "BAD_REQUEST | TEAM_FOLDER_REQUIRED | INVALID_FOLDER"
+ reason: "과제명은 필수입니다. | 팀 과제는 '팀' 폴더에만 생성할 수 있습니다. | 개인 과제는 팀 과제 전용 폴더에 생성할 수 없습니다."
data: null
'401':
description: 인증 실패 (토큰 만료 또는 누락)