Skip to content
Closed
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
5 changes: 1 addition & 4 deletions backend/apps/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def post(self, request, format=None):
}
return Response(response_data, status=status.HTTP_201_CREATED)


class ChatRoomCloseView(APIView):
@swagger_auto_schema(
operation_id="채팅방 종료",
Expand Down Expand Up @@ -180,8 +179,6 @@ def get(self, request, chat_room_id):
}
return Response(data)



class ChatRoomImageUploadView(APIView):
parser_classes = [MultiPartParser]
@swagger_auto_schema(
Expand Down Expand Up @@ -214,4 +211,4 @@ def post(self, request, chat_room_id):
except ChatRoom.DoesNotExist:
return Response({"error": "채팅방을 찾을 수 없습니다."}, status=status.HTTP_404_NOT_FOUND)
except Exception as e:
return Response({"error": str(e)}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
return Response({"error": str(e)}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)