summaryrefslogtreecommitdiff
path: root/app/controllers/graphql_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/graphql_controller.rb')
-rw-r--r--app/controllers/graphql_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb
index 942cb9beed4..2f01bdecd23 100644
--- a/app/controllers/graphql_controller.rb
+++ b/app/controllers/graphql_controller.rb
@@ -144,7 +144,8 @@ class GraphqlController < ApplicationController
def set_user_last_activity
return unless current_user
- Users::ActivityService.new(current_user).execute
+ # TODO: add namespace & project - https://gitlab.com/gitlab-org/gitlab/-/issues/387951
+ Users::ActivityService.new(author: current_user).execute
end
def track_vs_code_usage