Attempt at adding a last active field to tokens

This commit is contained in:
Henry Jameson 2026-11-06 18:59:56 +02:00
commit a06e471db7
6 changed files with 26 additions and 1 deletions

View file

@ -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