Skip to content

Commit

Permalink
HOTFIX: record_type 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
leehjhjhj committed Mar 27, 2024
1 parent fc96b8c commit f30d210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sportslive/record/presentation/record_delete_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ def __init__(self, *args, **kwargs):
self._record_service = RecordContainer.record_service()

@swagger_auto_schema(responses={"204": ""})
def delete(self, request, record_id: int, record_type: str):
def delete(self, request, record_id: int):
"""
타임 라인 삭제 API
"""
self._record_service.delete_record(record_id, record_type)
self._record_service.delete_record(record_id)
return Response(status=status.HTTP_204_NO_CONTENT)

0 comments on commit f30d210

Please sign in to comment.