Commit 0c9e2e70 authored by James Lopez's avatar James Lopez

fix typo in activity and entities

parent d9894f25
...@@ -20,7 +20,7 @@ module API ...@@ -20,7 +20,7 @@ module API
class UserActivity < Grape::Entity class UserActivity < Grape::Entity
expose :username expose :username
expose :date expose :last_activity_at
end end
class Identity < Grape::Entity class Identity < Grape::Entity
......
...@@ -8,7 +8,7 @@ module Gitlab ...@@ -8,7 +8,7 @@ module Gitlab
@time = time @time = time
end end
def lat_activity_at def last_activity_at
@lat_activity_at ||= Time.at(@time).to_s(:db) @lat_activity_at ||= Time.at(@time).to_s(:db)
end end
end end
......
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