diff options
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 5e66b4e76a5..4202c037707 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 |