diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-16 23:10:27 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-16 23:10:27 +0100 |
commit | 6f714dfb4a9b823ab75508f252d06e19e286d5f2 (patch) | |
tree | 409569ad65f1982451d9eb9a5bb0eae078abf01a /app/services | |
parent | 2749e7a58285e59381a3e788983678d9cf633b45 (diff) | |
download | gitlab-ce-6f714dfb4a9b823ab75508f252d06e19e286d5f2.tar.gz |
Improve code design after code review
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/chat_names/find_user_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/chat_names/find_user_service.rb b/app/services/chat_names/find_user_service.rb index 28e3e155be1..08079fdaf70 100644 --- a/app/services/chat_names/find_user_service.rb +++ b/app/services/chat_names/find_user_service.rb @@ -9,7 +9,7 @@ module ChatNames chat_name = find_chat_name return unless chat_name - chat_name.update(used_at: Time.now) + chat_name.update(last_used_at: Time.now) chat_name.user end |