Skip to content

Commit

Permalink
Merge pull request #95 from aleksandrpanteleymonov/master
Browse files Browse the repository at this point in the history
basket/shipping-methods could use another basket than /basket
  • Loading branch information
specialunderwear committed Apr 10, 2017
2 parents 81569d6 + 2163d58 commit c97545d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscarapi/views/basket.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def shipping_methods(request, format=None):
"""
basket = operations.get_basket(request)
shiping_methods = Repository().get_shipping_methods(
basket=request.basket, user=request.user,
basket=basket, user=request.user,
request=request)
ser = serializers.ShippingMethodSerializer(
shiping_methods, many=True, context={'basket': basket})
Expand Down

0 comments on commit c97545d

Please sign in to comment.