diff --git a/lib/open_project/costs/engine.rb b/lib/open_project/costs/engine.rb index 208be8486e..5ecad7cfaf 100644 --- a/lib/open_project/costs/engine.rb +++ b/lib/open_project/costs/engine.rb @@ -217,12 +217,6 @@ module OpenProject::Costs end extend_api_response(:v3, :work_packages, :schema, :work_package_schema) do - schema :spent_time, - type: 'Duration', - writable: false, - show_if: -> (*) { represented.project && represented.project.costs_enabled? }, - required: false - # N.B. in the long term we should have a type like "Currency", but that requires a proper # format and not a string like "10 EUR" schema :overall_costs,