mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: An opts hash was not, in fact, optional :)
This commit is contained in:
@@ -4,8 +4,8 @@ class TopicRetriever
|
||||
|
||||
def initialize(embed_url, opts = nil)
|
||||
@embed_url = embed_url
|
||||
@author_username = opts[:author_username]
|
||||
@opts = opts || {}
|
||||
@author_username = @opts[:author_username]
|
||||
end
|
||||
|
||||
def retrieve
|
||||
|
||||
Reference in New Issue
Block a user