diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-04-28 12:42:01 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-04-28 12:42:01 +0200 |
commit | 285926918b95f1d771bf4e9c84972d4e55b41ea9 (patch) | |
tree | f49cb42a094fbe5e3de08c549349fd99cb567465 /app/finders | |
parent | 7ec5ff4dbae71d147f413da5cea64116e7eb305d (diff) | |
download | gitlab-ce-285926918b95f1d771bf4e9c84972d4e55b41ea9.tar.gz |
Serialize last_fetched_at as a string with seconds
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/notes_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/notes_finder.rb b/app/finders/notes_finder.rb index 38d78f3a2d5..0b9affb716c 100644 --- a/app/finders/notes_finder.rb +++ b/app/finders/notes_finder.rb @@ -4,7 +4,7 @@ class NotesFinder def execute(project, current_user, params) target_type = params[:target_type] target_id = params[:target_id] - last_fetched_at = params.fetch(:last_fetched_at) + last_fetched_at = Time.at(params.fetch(:last_fetched_at).to_i) notes = case target_type when "commit" |