def delete_ticket(ticket_id): """Delete a specific ticket.""" if TicketController.get_ticket_by_id(ticket_id): TicketController.delete_ticket(ticket_id) response = success_response_body({}) else: response = error_response(404, "Resource Not Found") return response
def delete_ticket(ticket_id): """Delete a ticket.""" TicketController.delete_ticket(ticket_id) response = success_response_body({}) return response