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

Fix MultipleObjectsReturned in rest view

parent b9674588
Pipeline #81747 failed with stage
in 1 minute and 50 seconds
......@@ -191,7 +191,7 @@ class DeploymentView(generics.RetrieveUpdateAPIView):
if self.kwargs['type'] == 'service':
service = Service.objects.get(vos__user=self.request.user, id=dep_id)
service =
dep, created = ServiceDeployment.objects.get_or_create(
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