Fix callback reference

pull/2264/head
Hagen Schink 10 years ago
parent 18af561064
commit 1f9af70f77
  1. 2
      lib/services/create_watcher.rb

@ -42,7 +42,7 @@ class Services::CreateWatcher
@work_package.watchers << @watcher
success.(created: true)
else
error.(@watcher)
failure.(@watcher)
end
end
end

Loading…
Cancel
Save