diff --git a/lib/api/v3/work_packages/create_contract.rb b/lib/api/v3/work_packages/create_contract.rb index f742e83541..207a19293b 100644 --- a/lib/api/v3/work_packages/create_contract.rb +++ b/lib/api/v3/work_packages/create_contract.rb @@ -39,4 +39,3 @@ module API end end end - diff --git a/lib/api/v3/work_packages/form/form_api.rb b/lib/api/v3/work_packages/form/form_api.rb index 7d24a0ccc1..1fc7c64f32 100644 --- a/lib/api/v3/work_packages/form/form_api.rb +++ b/lib/api/v3/work_packages/form/form_api.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) diff --git a/lib/api/v3/work_packages/update_contract.rb b/lib/api/v3/work_packages/update_contract.rb index 0b495af004..6c581c06c9 100644 --- a/lib/api/v3/work_packages/update_contract.rb +++ b/lib/api/v3/work_packages/update_contract.rb @@ -51,4 +51,3 @@ module API end end end -