From 1a6095d27aeb440379d27c3894c302f831214822 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 10 Aug 2023 11:56:26 +0200 Subject: [PATCH] fix(apps): make sure we can set status for an application token Signed-off-by: Thomas Citharel --- lib/mobilizon/applications/application_token.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobilizon/applications/application_token.ex b/lib/mobilizon/applications/application_token.ex index 8243b49e3..186f80930 100644 --- a/lib/mobilizon/applications/application_token.ex +++ b/lib/mobilizon/applications/application_token.ex @@ -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