Merge branch 'bugfix/oauth-scopes-join' into 'develop'
Bugfix: OAuth scopes formatting Closes #702 See merge request pleroma/pleroma!881
This commit is contained in:
commit
f38c316e6e
2 changed files with 8 additions and 6 deletions
|
|
@ -113,7 +113,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue