diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-30 12:09:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-30 12:09:01 +0300 |
commit | 41c87b0fff3c5eff81a90e2e219c5ad16d6bcc4d (patch) | |
tree | 35607c4e524452181e5ee9905b31acdac490e184 /app/services/todo_service.rb | |
parent | 8698900da3194414303687b225c826ec99b88420 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/todo_service.rb')
-rw-r--r-- | app/services/todo_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/todo_service.rb b/app/services/todo_service.rb index c55e1680bfe..1f6cf2c83c9 100644 --- a/app/services/todo_service.rb +++ b/app/services/todo_service.rb @@ -377,7 +377,7 @@ class TodoService attributes = { project_id: target&.project&.id, target_id: target.id, - target_type: target.class.name, + target_type: target.class.try(:polymorphic_name) || target.class.name, commit_id: nil } |