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:
parent
086d208ee5
commit
1a6095d27a
|
@ -18,7 +18,7 @@ defmodule Mobilizon.Applications.ApplicationToken do
|
|||
end
|
||||
|
||||
@required_attrs [:user_id, :application_id, :scope]
|
||||
@optional_attrs [:authorization_code]
|
||||
@optional_attrs [:authorization_code, :status]
|
||||
@attrs @required_attrs ++ @optional_attrs
|
||||
|
||||
@doc false
|
||||
|
|
Loading…
Reference in a new issue