lib/hub_helper.rb in hubstats-0.0.5 vs lib/hub_helper.rb in hubstats-0.0.6
- old
+ new
@@ -9,11 +9,11 @@
else
return nil
end
end
- def self.comment_setup(comment, repo, kind)
- comment[:repo_id] = repo.id
+ def self.comment_setup(comment, repo_id, kind)
+ comment[:repo_id] = repo_id
comment[:pull_number] = get_pull_number(comment)
comment[:kind] = kind
return comment
end