Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ 페이지 컨테이너, 모달 컴포넌트, 신고하기 모달 컴포넌트의 폴더 위치 조정 #15

Merged
merged 7 commits into from
Nov 5, 2024
6 changes: 3 additions & 3 deletions src/app/mocks/handlers/feed.ts
BangDori marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export const feedHandlers = [
http.post('http://api.example.com/v2/feeds/:feedId/reports', async ({ request, params }) => {
const { feedId } = params;

const { category, content, isBlind } = (await request.json()) as IReportFeedReqDto;
const { category, isBlind } = (await request.json()) as IReportFeedReqDto;

if (!feedId || !category || !content) {
return createHttpErrorResponse('피드 ID, 신고 카테고리, 컨텐츠가 다 입력되어야 합니다.');
if (!feedId || !category) {
return createHttpErrorResponse('피드 ID, 신고 카테고리가 필수로 입력되어야 합니다.');
}

if (isBlind) {
Expand Down