From 4981da5a7762daf37f60a8193421a875c60a8bad Mon Sep 17 00:00:00 2001 From: Augustus Mayo Date: Wed, 20 Nov 2024 09:29:16 -0600 Subject: [PATCH] Fix handling unsupported permission types --- v-api-permission-derive/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v-api-permission-derive/src/lib.rs b/v-api-permission-derive/src/lib.rs index f695957..b0ee1a7 100644 --- a/v-api-permission-derive/src/lib.rs +++ b/v-api-permission-derive/src/lib.rs @@ -721,8 +721,8 @@ fn system_permission_tokens() -> TokenStream { CreateAccessToken, - #[serde(other)] - Removed, + #[serde(untagged)] + Removed(serde_json::Value), } } .into()