Esempio n. 1
0
def confirm(invoiceId):
    result = Model.update(invoiceId=invoiceId, confirmed=True)

    return Schema().dump(result).data
Esempio n. 2
0
def confirm(invoiceId):
    result = Model.update(invoiceId=invoiceId, confirmed=True)

    db.session.commit()

    return Schema().dump(result).data