Skip to content

Commit 53227c8

Browse files
authored
[fix] IsPaymentByUser (#10)
1 parent 9edecf1 commit 53227c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

payment/permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from orders.models import Order
66

77

8-
class IsPaymentByUser(BaseException):
8+
class IsPaymentByUser(BasePermission):
99
"""
1010
Check if payment belongs to the appropriate buyer or admin
1111
"""

0 commit comments

Comments
 (0)