From 996468504f886251e24e12c2bee8afeecf1e0ac3 Mon Sep 17 00:00:00 2001 From: Alexander Bach Date: Fri, 22 May 2015 15:18:00 +0200 Subject: [PATCH] Appease the hound --- lib/api/v3/work_packages/create_contract.rb | 1 - lib/api/v3/work_packages/form/form_api.rb | 2 +- lib/api/v3/work_packages/update_contract.rb | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) 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 -