mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-16 22:09:27 +08:00
Readd permission class in transaction view set
This commit is contained in:
parent
31b527cd9d
commit
8abf689544
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,6 @@ class TransactionViewSet(viewsets.ModelViewSet):
|
|||
# Only allow GET, POST/CREATE
|
||||
# Transactions cannot be deleted
|
||||
http_method_names = ['get', 'post']
|
||||
# permission_classes = [IsAuthenticated]
|
||||
permission_classes = [IsAuthenticated]
|
||||
serializer_class = TransactionSerializer
|
||||
queryset = Transaction.objects.all()
|
||||
|
|
Loading…
Reference in a new issue