We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9edecf1 commit 53227c8Copy full SHA for 53227c8
1 file changed
payment/permissions.py
@@ -5,7 +5,7 @@
5
from orders.models import Order
6
7
8
-class IsPaymentByUser(BaseException):
+class IsPaymentByUser(BasePermission):
9
"""
10
Check if payment belongs to the appropriate buyer or admin
11
0 commit comments