summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-08-26 14:08:40 +0200
committerWinnie Hellmann <winnie@gitlab.com>2019-09-02 21:01:28 +0200
commit981940ef31318a63f69dfa579e21f5124f3d6eb5 (patch)
treef28bba92c2617f18cb6a9fdf3dd2427bc09bf284
parent5149ff9847e8039a433c39c8df3c3b37d04586f5 (diff)
downloadgitlab-ce-winh-issue-get-epic_iid.tar.gz
Prefer CE entities when resolving todo targetwinh-issue-get-epic_iid
(cherry picked from commit c6f0870bb18bdb4ad8e71b148a3d654d0a129e74)
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 4dac382632e..2f2522b77dc 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -978,7 +978,7 @@ module API
expose :created_at
def todo_target_class(target_type)
- ::API::Entities.const_get(target_type)
+ ::API::Entities.const_get(target_type, false)
end
end