def update_ticket_defendant(ticket=None): """ Update ticket defendant """ body = request.get_json() code, resp = TicketsController.update(ticket, body, g.user) return code, resp
def update_ticket(ticket=None): """ Update an existing ticket """ body = request.get_json() code, resp = TicketsController.update(ticket, body, g.user) return code, resp