Tiny style fix

pull/3125/head
Alexander Bach 10 years ago committed by Jens Ulferts
parent 673d9366ff
commit 71fa1fa912
  1. 3
      lib/api/v3/work_packages/work_packages_by_project_api.rb

@ -51,7 +51,8 @@ module API
post do
write_work_package_attributes @work_package
if write_request_valid?(@work_package, WorkPackages::CreateContract) && @create_service.save
if write_request_valid?(@work_package, WorkPackages::CreateContract) &&
@create_service.save
@work_package.reload
WorkPackages::WorkPackageRepresenter.create(@work_package,

Loading…
Cancel
Save