Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: renamed basketcheckout view to MobileBasketCheckoutView
Browse files Browse the repository at this point in the history
  • Loading branch information
jawad-khan committed May 13, 2024
1 parent 70eadf5 commit 049b225
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ecommerce/extensions/iap/api/v1/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from ecommerce.extensions.iap.api.v1.views import (
AndroidRefundView,
BasketCheckoutView,
MobileBasketCheckoutView,
IOSRefundView,
MobileBasketAddItemsView,
MobileCheckoutView,
Expand All @@ -11,7 +11,7 @@
)

urlpatterns = [
url(r'^basket-checkout/$', BasketCheckoutView.as_view(), name='mobile-basket-checkout'),
url(r'^basket-checkout/$', MobileBasketCheckoutView.as_view(), name='mobile-basket-checkout'),
url(r'^basket/add/$', MobileBasketAddItemsView.as_view(), name='mobile-basket-add'),
url(r'^checkout/$', MobileCheckoutView.as_view(), name='iap-checkout'),
url(r'^execute/$', MobileCoursePurchaseExecutionView.as_view(), name='iap-execute'),
Expand Down
2 changes: 1 addition & 1 deletion ecommerce/extensions/iap/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _get_available_products(self, request, products):
return available_products


class BasketCheckoutView(MobileBasketAddItemsView):
class MobileBasketCheckoutView(MobileBasketAddItemsView):

permission_classes = (IsAuthenticated,)

Expand Down

0 comments on commit 049b225

Please sign in to comment.