Attempt at adding a last active field to tokens
This commit is contained in:
parent
ab8fae0b94
commit
a06e471db7
6 changed files with 26 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ defmodule Pleroma.Web.OAuth.TokenControllerTest do
|
|||
|> Map.keys()
|
||||
|
||||
assert Enum.sort(keys) ==
|
||||
Enum.sort(["id", "app_name", "valid_until", "scopes", "is_current_token"])
|
||||
Enum.sort(["id", "app_name", "valid_until", "scopes", "is_current_token", "last_active"])
|
||||
end
|
||||
|
||||
test "marks which token is being used for the request" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue