Render only "id", "valid_until" and "app_name" in TokenView
This commit is contained in:
parent
760fec4cb8
commit
94708d6370
2 changed files with 3 additions and 3 deletions
|
|
@ -68,5 +68,6 @@ defmodule Pleroma.Web.OAuth.Token do
|
|||
where: t.user_id == ^user_id
|
||||
)
|
||||
|> Repo.all()
|
||||
|> Repo.preload(:app)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue