chore(payment): replace DeletePaymentView with CancelPaymentView in payment URLs 🔧
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m20s

This commit is contained in:
2025-07-06 21:24:39 +05:00
parent 4f794571e9
commit 342e963861

View File

@ -5,7 +5,7 @@ from .views import (
VerifyPaymentView, VerifyPaymentView,
PaymentDetailAPIView, PaymentDetailAPIView,
UpdatePaymentAPIView, UpdatePaymentAPIView,
DeletePaymentView, CancelPaymentView,
ListCreateTopupView, ListCreateTopupView,
VerifyTopupPaymentAPIView, VerifyTopupPaymentAPIView,
TopupDetailAPIView, TopupDetailAPIView,
@ -21,9 +21,9 @@ urlpatterns = [
name="update-payment", name="update-payment",
), ),
path( path(
"payment/<str:pk>/delete/", "payment/<str:pk>/cancel/",
DeletePaymentView.as_view(), CancelPaymentView.as_view(),
name="delete-payment", name="cancel-payment",
), ),
path( path(
"payment/<str:pk>/verify/", VerifyPaymentView.as_view(), name="verify-payment" "payment/<str:pk>/verify/", VerifyPaymentView.as_view(), name="verify-payment"