Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
d7496452
Commit
d7496452
authored
Apr 09, 2020
by
lukas.burgey
Browse files
Fix id check
parent
365ada86
Pipeline
#81775
passed with stage
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/views/rest.py
View file @
d7496452
...
...
@@ -193,7 +193,7 @@ class DeploymentView(generics.RetrieveUpdateAPIView):
# find service with id dep_id
service
=
None
for
s
in
self
.
request
.
user
.
services
:
if
s
.
id
==
dep_id
:
if
s
.
id
==
int
(
dep_id
)
:
if
service
is
None
:
service
=
s
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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