summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/api.rb')
-rw-r--r--lib/api/api.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb
index 5e449022676..4b7fe6bdc7a 100644
--- a/lib/api/api.rb
+++ b/lib/api/api.rb
@@ -164,7 +164,7 @@ module API
namespace do
after do
- ::Users::ActivityService.new(@current_user).execute
+ ::Users::ActivityService.new(author: @current_user, project: @project, namespace: @group).execute
end
# Mount endpoints to include in the OpenAPI V2 documentation here
@@ -209,6 +209,7 @@ module API
mount ::API::DeployKeys
mount ::API::DeployTokens
mount ::API::Deployments
+ mount ::API::DraftNotes
mount ::API::Environments
mount ::API::ErrorTracking::ClientKeys
mount ::API::ErrorTracking::ProjectSettings