Appease the hound

pull/3125/head
Alexander Bach 10 years ago committed by Jens Ulferts
parent 410e483fef
commit e67f498818
  1. 1
      lib/api/v3/work_packages/create_contract.rb
  2. 2
      lib/api/v3/work_packages/form/form_api.rb
  3. 1
      lib/api/v3/work_packages/update_contract.rb

@ -35,7 +35,7 @@ module API
class FormAPI < ::API::OpenProjectAPI
post '/form' do
write_work_package_attributes(reset_lock_version: true)
write_request_valid?(UpdateContract) #TODO choose contract according to context
write_request_valid?(UpdateContract) # TODO choose contract according to context
error = ::API::Errors::ErrorBase.create(@work_package.errors)

Loading…
Cancel
Save