Formatting.
authorlain <lain@soykaf.club>
Tue, 6 Nov 2018 15:05:58 +0000 (16:05 +0100)
committerlain <lain@soykaf.club>
Tue, 6 Nov 2018 15:05:58 +0000 (16:05 +0100)
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

index 51a7ec2b24aef3c5b041f364169baaa47e846912..5cb007740bcebc66129584a7db6f32c6f1dca114 100644 (file)
@@ -989,7 +989,6 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
     with {:ok, app} <- get_or_make_app(),
          %Authorization{} = auth <- Repo.get_by(Authorization, token: code, app_id: app.id),
          {:ok, token} <- Token.exchange_token(app, auth) do
-
       conn
       |> put_session(:oauth_token, token.token)
       |> redirect(to: "/web/getting-started")