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