Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# :sparkles: Check Task Back-End :sparkles:
## Team
|<img width="250" height="250" alt="image" src="https://github.com/user-attachments/assets/bb166557-3a96-4715-b7e9-eab379b29541" />|<img width="220" height="220" alt="image" src="https://github.com/user-attachments/assets/38c7fdaa-2ca7-4421-a34c-7bbc93ce0ba1" />|<img width="220" height="220" alt="image" src="https://github.com/user-attachments/assets/5a245a4d-3e5b-4c24-95d8-b74fdacb6ef4" />|<img width="150" height="150" alt="image" src="https://github.com/user-attachments/assets/fd09a935-a8ee-40eb-87ea-c2170c753e14" />|<img width="280" height="280" alt="image" src="https://github.com/user-attachments/assets/a31dffc4-7508-45ee-8842-e15b6e9ed317" />|
|<img width="250" height="250" alt="image" src="https://github.com/user-attachments/assets/bb166557-3a96-4715-b7e9-eab379b29541" />|<img width="250" height="250" alt="image" src="https://github.com/user-attachments/assets/38c7fdaa-2ca7-4421-a34c-7bbc93ce0ba1" />|<img width="250" height="250" alt="image" src="https://github.com/user-attachments/assets/5a245a4d-3e5b-4c24-95d8-b74fdacb6ef4" />|<img width="250" height="250" alt="image" src="https://github.com/user-attachments/assets/fd09a935-a8ee-40eb-87ea-c2170c753e14" />|<img width="250" height="250" alt="image" src="https://github.com/user-attachments/assets/a31dffc4-7508-45ee-8842-e15b6e9ed317" />|
|:-:|:-:|:-:|:-:|:-:|
|κΉ€μ •λ―Ό<br/>[@JungMINI-developer](https://github.com/JungMINI-developer)|μ˜€μ†Œμœ€<br/>[@soyun0318](https://github.com/soyun0318)|μ •κ·œμ€<br/>[@jeongkyueun](https://github.com/jeongkyueun)|μ–‘μš°μ˜<br/>[@yangwooyoung123](https://github.com/yangwooyoung123)|μ„ μ€€μš°<br/>[@junu999](https://github.com/junu999)|
|Back-End <br>(νŒ€μž₯)|Back-End|Back-End|Back-End|Back-End
<br>
| [μ œμ΄μ— /κΉ€μ •λ―Ό](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** |
| λ°±μ—”λ“œ 총괄<br/>초기 μ„ΈνŒ…<br/>μ•Œλ¦Ό κΈ°λŠ₯ κ΅¬ν˜„ | 과제 κ΄€λ ¨ κΈ°λŠ₯ κ΅¬ν˜„ | νŒ€ 과제 μ„ΈλΆ€ κΈ°λŠ₯ κ΅¬ν˜„ | 둜그인 κΈ°λŠ₯ κ΅¬ν˜„<br/>배포 및 운영 ν™˜κ²½ ꡬ성 | μœ μ € κ΄€λ ¨ κΈ°λŠ₯ κ΅¬ν˜„ |

## βš™οΈ μ‹œμŠ€ν…œ ꡬ성도
<img width="1639" height="621" alt="Group 3" src="https://github.com/user-attachments/assets/70094c33-b732-4769-a033-5d23246b408c" />
Expand Down
3 changes: 3 additions & 0 deletions src/services/task.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
4 changes: 2 additions & 2 deletions src/swagger/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 인증 μ‹€νŒ¨ (토큰 만료 λ˜λŠ” λˆ„λ½)
Expand Down