diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-12-13 20:47:50 +0300 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2018-12-13 20:47:50 +0300 |
commit | fa7b4eca877576936c7af686531603b89cbd9f45 (patch) | |
tree | 8282b0607c22e9381c44a5dca8d9cd0a98b84c40 /app/serializers | |
parent | b5dbfbbac90d067c51f9d2bb80fa5b368ae21548 (diff) |
Use proper API::Entities::Milestone
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/issue_board_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/issue_board_entity.rb b/app/serializers/issue_board_entity.rb index 58ab804a3c8..e3dc43240c6 100644 --- a/app/serializers/issue_board_entity.rb +++ b/app/serializers/issue_board_entity.rb @@ -17,7 +17,7 @@ class IssueBoardEntity < Grape::Entity end expose :milestone, expose_nil: false do |issue| - API::Entities::Project.represent issue.milestone, only: [:id, :title] + API::Entities::Milestone.represent issue.milestone, only: [:id, :title] end expose :assignees do |issue| |