Commit 365ada86 authored by lukas.burgey's avatar lukas.burgey
Browse files

Fix indentation

parent 496c6eb1
Pipeline #81773 failed with stage
in 1 minute and 46 seconds
......@@ -198,8 +198,9 @@ class DeploymentView(generics.RetrieveUpdateAPIView):
service = s
else:
raise Exception('user has multiple services with identical id')
if service is None:
raise exceptions.ValidationError('You are not permitted to access a service with id "{}"'.format(dep_id))
if service is None:
raise exceptions.ValidationError('You are not permitted to access a service with id "{}"'.format(dep_id))
dep, created = ServiceDeployment.objects.get_or_create(
user=self.request.user,
......
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