Unverified Commit 01099350 authored by Andrew Walker's avatar Andrew Walker Committed by GitHub
Browse files

Fix returns decorator for audit query items (#13035)

Showing with 2 additions and 2 deletions
+2 -2
......@@ -23,7 +23,7 @@ from .schema.smb import AUDIT_EVENT_SMB_JSON_SCHEMAS, AUDIT_EVENT_SMB_PARAM_SET
from middlewared.client import ejson
from middlewared.plugins.zfs_.utils import TNUserProp
from middlewared.schema import (
accepts, Bool, Dict, Int, List, Patch, Ref, returns, Str, UUID
accepts, Bool, Datetime, Dict, Int, List, Patch, Ref, returns, Str, UUID
)
from middlewared.service import filterable, filterable_returns, job, private, ConfigService
from middlewared.service_exception import CallError, ValidationErrors
......@@ -132,7 +132,7 @@ class AuditService(ConfigService):
'audit_entry',
UUID('audit_id'),
Int('message_timestamp'),
Dict('timestamp', additional_attrs=True),
Datetime('timestamp'),
Str('address'),
Str('username'),
UUID('session'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment