Commit d7496452 authored by lukas.burgey's avatar lukas.burgey
Browse files

Fix id check

parent 365ada86
Pipeline #81775 passed with stage
in 57 seconds
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment