Include session scopes in TokenView
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
6358294943
commit
23e5eed4e0
3 changed files with 4 additions and 2 deletions
|
|
@ -15,7 +15,8 @@ defmodule Pleroma.Web.TwitterAPI.TokenView do
|
|||
%{
|
||||
id: token_entry.id,
|
||||
valid_until: token_entry.valid_until,
|
||||
app_name: token_entry.app.client_name
|
||||
app_name: token_entry.app.client_name,
|
||||
scopes: token_entry.scopes
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue