Skip to content

Commit

Permalink
Merge pull request #58 from carbonfive/tentacat-api-bugfix
Browse files Browse the repository at this point in the history
missed a tentacat call for new api
  • Loading branch information
outofambit authored Apr 9, 2018
2 parents 9a3414b + 79f26c5 commit 5cc5c05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/funnel/investigator/investigator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ defmodule Funnel.Investigator do
@spec reevaluate_open_pull_requests(%Funnel.Scent{}) :: atom
def reevaluate_open_pull_requests(scent) do
tenta_client = GitHubAuth.get_installation_client(scent.installation_id)
Tentacat.Pulls.filter(scent.owner_login, scent.repo_name, %{state: "open", base: scent.branch_name}, tenta_client)
{200, pulls, _} = Tentacat.Pulls.filter(scent.owner_login, scent.repo_name, %{state: "open", base: scent.branch_name}, tenta_client)
pulls
|> Enum.map(
fn(b) ->
Task.async fn ->
Expand Down

0 comments on commit 5cc5c05

Please sign in to comment.