Web.OAuth.OAuthController: Fix scopes Enum.join for OAuth response
This commit is contained in:
parent
1c265b3b19
commit
b6a001a34c
@ -114,7 +114,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do
|
|||||||
refresh_token: token.refresh_token,
|
refresh_token: token.refresh_token,
|
||||||
created_at: DateTime.to_unix(inserted_at),
|
created_at: DateTime.to_unix(inserted_at),
|
||||||
expires_in: 60 * 10,
|
expires_in: 60 * 10,
|
||||||
scope: Enum.join(token.scopes)
|
scope: Enum.join(token.scopes, " ")
|
||||||
}
|
}
|
||||||
|
|
||||||
json(conn, response)
|
json(conn, response)
|
||||||
|
Loading…
Reference in New Issue
Block a user