summaryrefslogtreecommitdiff
path: root/lib/api/todos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/todos.rb')
-rw-r--r--lib/api/todos.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/todos.rb b/lib/api/todos.rb
index afc1525cbe2..a001313a11f 100644
--- a/lib/api/todos.rb
+++ b/lib/api/todos.rb
@@ -79,7 +79,7 @@ module API
next unless collection
targets = collection.map(&:target)
- options[type] = { issuable_metadata: Gitlab::IssuableMetadata.new(current_user, targets).data }
+ options[type] = { issuable_metadata: Gitlab::IssuableMetadata.new(current_user, targets).data, include_subscribed: false }
end
end
end
@@ -124,4 +124,4 @@ module API
end
end
-API::Todos.prepend_if_ee('EE::API::Todos')
+API::Todos.prepend_mod_with('API::Todos')