Commit 3bccd2b1 authored by Ash McKenzie's avatar Ash McKenzie

Use user? instead

parent 23d92198
...@@ -38,7 +38,7 @@ module Gitlab ...@@ -38,7 +38,7 @@ module Gitlab
end end
def type def type
actor.is_a?(User) ? :lfs_token : :lfs_deploy_token user? ? :lfs_token : :lfs_deploy_token
end end
def actor_name def actor_name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment