fix(apps): make sure we can set status for an application token

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-08-10 11:56:26 +02:00
parent 086d208ee5
commit 1a6095d27a
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -18,7 +18,7 @@ defmodule Mobilizon.Applications.ApplicationToken do
end end
@required_attrs [:user_id, :application_id, :scope] @required_attrs [:user_id, :application_id, :scope]
@optional_attrs [:authorization_code] @optional_attrs [:authorization_code, :status]
@attrs @required_attrs ++ @optional_attrs @attrs @required_attrs ++ @optional_attrs
@doc false @doc false