     end
     %{body: raw, status_code: 200, headers: headers} = HTTPoison.get!(
       url,
-      [{"Authorization", "token #{token}"}, {"Accept", @content_type}],
+      [{"Authorization", "token #{token}"}, {"Accept", @installation_content_type}],
       [params: params])
     repositories = Poison.decode!(raw)["repositories"]
     |> Enum.map(&Aelita2.GitHub.Repo.from_json/1)

  end

  @token_exp 400
  @installation_content_type "application/vnd.github.machine-man-preview+json"

  defp installation_config do
    :aelita2

    GenServer.start_link(__MODULE__, :ok, name: Aelita2.GitHub)
  end

  @installation_content_type "application/vnd.github.machine-man-preview+json"
  @content_type_raw "application/vnd.github.v3.raw"
  @content_type "application/vnd.github.v3+json"

