Skip to content
Snippets Groups Projects
Verified Commit b6a001a3 authored by Haelwenn's avatar Haelwenn
Browse files

Web.OAuth.OAuthController: Fix scopes Enum.join for OAuth response

parent 1c265b3b
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do
refresh_token: token.refresh_token,
created_at: DateTime.to_unix(inserted_at),
expires_in: 60 * 10,
scope: Enum.join(token.scopes)
scope: Enum.join(token.scopes, " ")
}
json(conn, response)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment