Skip to content
Snippets Groups Projects
Commit 272c9f11 authored by Brett Walker's avatar Brett Walker
Browse files

Adjust weight property to accomodate EE

parent 2674830e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,7 +11,6 @@ class IssueBoardEntity < Grape::Entity
expose :due_date
expose :project_id
expose :relative_position
expose :weight, if: -> (*) { respond_to?(:weight) }
 
expose :project do |issue|
API::Entities::Project.represent issue.project, only: [:id, :path]
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@
"project_id": { "type": "integer" },
"relative_position": { "type": ["integer", "null"] },
"time_estimate": { "type": "integer" },
"weight": { "type": "integer" },
"weight": { "type": ["integer", "null"] },
"project": {
"type": "object",
"properties": {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment