Skip to content

Loading…

Repository.issues owner typo! #54

Open
micahbrich opened this Issue · 1 comment

2 participants

@micahbrich

I was reading through the code in /lib/octopi/repository.rb, and found a little typo on line #100.

def issues(state = "open")
  IssueSet.new(Octopi::Issue.find_all(:user => owner, :repository => self))
end

as far as I can tell, ought to be:

def issues(state = "open")
  IssueSet.new(Octopi::Issue.find_all(:user => self.owner, :repository => self))
end

My app couldn't find the user, because it didn't know what "user" was, as opposed to "self.user." Thought I'd share my findings!

@radar
Collaborator

These should be the same thing. Let me know if you are still having issues with the latest gem and then I can fix it. A stacktrace would be helpful if one is provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.