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 f30d210 commit 228a3a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sportslive/record/presentation/record_change_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, *args, **kwargs):
self._record_service = RecordContainer.record_service()

@swagger_auto_schema(responses={"200": ""})
def put(self, request, record_id: int, record_type: str):
def put(self, request, record_id: int):
"""
타임 라인 수정 API
record type이 "score" 일 경우:
Expand All @@ -37,5 +37,5 @@ def put(self, request, record_id: int, record_type: str):
"replacedLineupPlayerId": int
}
"""
self._record_service.change_record(record_id, record_type, request.data)
self._record_service.change_record(record_id, request.data)
return Response(status=status.HTTP_200_OK)

0 comments on commit 228a3a3

Please sign in to comment.