Enhance admin maintenance functionality with new endpoints and response types
- Added new DELETE endpoints for managing audit logs and disabled apps in the admin maintenance section. - Updated existing endpoint for closed tickets to use a unified response type, `MaintenanceCleanupResponseDto`. - Enhanced API documentation to reflect the new operations and their expected request/response formats. - Improved frontend integration with new functions for deleting old audit logs and disabled apps, including user confirmation prompts. - Added localization support for new maintenance actions in both Russian and English.
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ public sealed class DeleteClosedTicketsCommandHandler(
|
||||
"ClosedTicketsCleanedUp",
|
||||
"SupportTicket",
|
||||
"bulk",
|
||||
metadata: $"count={ticketIds.Count}",
|
||||
metadata: $"{{\"count\":{ticketIds.Count}}}",
|
||||
AuditSource.Web
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user