about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/feed.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/feed.rb b/app/models/feed.rb
index 1d6c2cfbf..e7574956e 100644
--- a/app/models/feed.rb
+++ b/app/models/feed.rb
@@ -4,7 +4,7 @@ class Feed
     @account = account
   end
 
-  def get(limit, max_id)
+  def get(limit, max_id = nil)
     max_id     = '+inf' if max_id.nil?
     unhydrated = redis.zrevrangebyscore(key, "(#{max_id}", '-inf', limit: [0, limit])
     status_map = Hash.new