export async function rejectChangeProposal(args) {
    const executeInTransaction = async (trx) => {
        await trx
            .updateTable("change_proposal")
            .set({ status: "rejected" })
            .where("id", "=", args.proposal.id)
            .execute();
    };
    if (args.lix.db.isTransaction) {
        await executeInTransaction(args.lix.db);
        return;
    }
    return await args.lix.db.transaction().execute(executeInTransaction);
}
//# sourceMappingURL=reject-change-proposal.js.map