Ejemplo n.º 1
0
def get_ticket_proof(ticket=None):
    """ Get all proof for a given ticket
    """
    if request.method == 'GET':
        code, resp = TicketsController.get_proof(ticket)
    else:
        body = request.get_json()
        code, resp = TicketsController.add_proof(ticket, body, g.user)
    return code, resp