Feature #2898: fix bug. params is now optional

This commit is contained in:
Carlos Martín committed 2014-05-16 15:23:03 +02:00
1 parent a4500673c3
commit 604a4e120d
1 file changed
+1
+1
View File
@@ -408,6 +408,7 @@ post '/service_template/:id/action' do
action = JSON.parse(request.body.read)['action']
opts = action['params']
opts = {} if opts.nil?
rc = case action['perform']
when 'instantiate'