diff --git a/lib/api/v3/work_packages/schema/work_package_schema_representer.rb b/lib/api/v3/work_packages/schema/work_package_schema_representer.rb index 8d07325df0..5e30598db1 100644 --- a/lib/api/v3/work_packages/schema/work_package_schema_representer.rb +++ b/lib/api/v3/work_packages/schema/work_package_schema_representer.rb @@ -155,7 +155,6 @@ module API } schema_with_allowed_collection :type, - type: 'Type', values_callback: -> (*) { represented.assignable_types }, @@ -168,7 +167,6 @@ module API } schema_with_allowed_collection :status, - type: 'Status', values_callback: -> (*) { represented.assignable_statuses_for(current_user) }, @@ -181,7 +179,6 @@ module API } schema_with_allowed_collection :category, - type: 'Category', values_callback: -> (*) { represented.assignable_categories }, @@ -195,7 +192,6 @@ module API required: false schema_with_allowed_collection :version, - type: 'Version', values_callback: -> (*) { represented.assignable_versions }, @@ -209,7 +205,6 @@ module API required: false schema_with_allowed_collection :priority, - type: 'Priority', values_callback: -> (*) { represented.assignable_priorities },