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

FE에서 API로 전송할 결제 성공 API 작성 #91

Merged
merged 3 commits into from
May 25, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
payment_key 생성을 위한 http method 변경
  • Loading branch information
golony6449 committed May 25, 2023
commit af212d797009342525079bb08274c06516f52714
4 changes: 2 additions & 2 deletions payment/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def post(self, request):
return Response(dto)


@api_view(["GET"])
def get__generate_payment_key(request):
@api_view(["POST"])
def post__generate_payment_key(request):

request_ticket_type = TicketType.objects.get(id=request.data["ticket_type"])

Expand Down