Commit 08480ef1 by Chif Gergő

Call save

parent 1248bd84
Pipeline #1066 failed with stage
in 1 minute 30 seconds
......@@ -29,6 +29,7 @@ class ImageTemplateViewSet(ModelViewSet):
flavor=data["flavor"],
type="IMAGE"
)
new_template.save()
serializer = ImageTemplateModelSerializer(instance=new_template)
return Response(serializer.data)
......
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 sign in to comment