From c2a03bb5f391b2dd13664c7d95f45aeeb0e21c3e Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Fri, 22 Nov 2024 07:00:38 -0600 Subject: [PATCH] Fix acl_template schema for delete operation This wraps around datastore.delete and so returns True. --- src/middlewared/middlewared/api/v25_04_0/acl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewared/middlewared/api/v25_04_0/acl.py b/src/middlewared/middlewared/api/v25_04_0/acl.py index b3c4d9168f167..c4faba7355c59 100644 --- a/src/middlewared/middlewared/api/v25_04_0/acl.py +++ b/src/middlewared/middlewared/api/v25_04_0/acl.py @@ -312,7 +312,7 @@ class AclTemplateDeleteArgs(BaseModel): class AclTemplateDeleteResult(BaseModel): - result: int + result: Literal[True] class AclTemplateFormatOptions(BaseModel):