X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FGithub%2FAPI.php;h=bddd1672789b7d9b467dc0d6598ddea6982afa1b;hb=e486905c83484744246ce0558b16d407df2d02b8;hp=3eea40d625defd7042bc1e3bb818348c5160d798;hpb=8189a52ebb8f7663aabfdbd1a3ff931db9553495;p=pharext%2Fpharext.org diff --git a/app/Github/API.php b/app/Github/API.php index 3eea40d..bddd167 100644 --- a/app/Github/API.php +++ b/app/Github/API.php @@ -133,7 +133,7 @@ class API "state" => $state, "client_id" => $this->config->client->id, "scope" => $this->config->client->scope, - "redirect_uri" => $callback_url, + "redirect_uri" => (string) $callback_url, ]; return new Url("https://github.com/login/oauth/authorize", [ "query" => new QueryString($param)