oops?
This commit is contained in:
parent
22a2890f2b
commit
a614fcba79
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
defmodule Pleroma.Web.OAuth.TokenView do
|
||||
use Pleroma.Web, :view
|
||||
|
||||
def render("index.json", %{tokens: tokens}) do
|
||||
def render("index.json", %{tokens: tokens, current_token: current_token}) do
|
||||
tokens
|
||||
|> render_many(Pleroma.Web.OAuth.TokenView, "show.json")
|
||||
|> Enum.filter(&Enum.any?/1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue