lib/aikido/context.rb in aikido-ruby-client-0.0.3 vs lib/aikido/context.rb in aikido-ruby-client-0.0.4

- old
+ new

@@ -7,10 +7,10 @@ def initialize(client: nil) @client = client || Aikido::Client.new end def issues_for_code_repository(external_repo_id:) - repo = code_repositories.find { |r| r['external_repo_id'] == external_repo_id } + repo = code_repositories.find { |r| r['external_repo_id'].to_s == external_repo_id.to_s } return [] unless repo issues.select do |issue| issue['code_repo_id'] == repo['id'] end