Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
pilar
pilar-backend
Commits
1646ea88
Commit
1646ea88
authored
Nov 24, 2020
by
inez nabila
Browse files
fixing
parent
21fa9386
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/views.py
View file @
1646ea88
...
...
@@ -263,7 +263,7 @@ class CartCompleteTransaction(rest_framework_views.APIView):
transaction
=
shortcuts
.
get_object_or_404
(
models
.
Transaction
,
id
=
serializer
.
validated_data
[
'transaction'
],
user
=
user
user
=
request
.
user
)
if
transaction
.
transaction_status
!=
'004'
:
raise
rest_framework_exceptions
.
PermissionDenied
(
_
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment