 
   @spec get_open_prs_!(binary, binary, [tpr]) :: [tpr]
   defp get_open_prs_!(token, url, append) do
-    params = URI.parse(url).query |> URI.query_decoder() |> Enum.to_list()
+    params = get_url_params(url)
     %{body: raw, status_code: 200, headers: headers} = HTTPoison.get!(
       url,
       [{"Authorization", "token #{token}"}, {"Accept", @content_type}],

      "#{site()}/repositories/#{repo_xref}/#{path}",
      [{"Authorization", "token #{token}"}] ++ headers,
      params)
  end

  @token_exp 60

    repositories = Poison.decode!(raw)["repositories"]
    |> Enum.map(&BorsNG.GitHub.Repo.from_json!/1)
    |> Enum.concat(append)
    next_headers = get_next_headers(headers)
    case next_headers do
      [] -> repositories
      [next] -> get_installation_repos_!(token, next.next.url, repositories)
