Merge pull request #2893 from NobodysNightmare/feature/show_nil_parent_in_payload

[API] always show the parent id in the WP form payload
pull/2902/head
Florian Kraft 10 years ago
commit a77db8b227
  1. 5
      lib/api/v3/work_packages/form/work_package_payload_representer.rb

@ -101,7 +101,10 @@ module API
},
setter: -> (value, *) { represented.description = value['raw'] },
render_nil: true
property :parent_id, writeable: true
property :parent_id,
writeable: true,
render_nil: true
property :project_id,
getter: -> (*) { nil },

Loading…
Cancel
Save