src/blockchain/projects.js
// cancel donation b/c a project was canceled
cancel donation b/c a project was canceled
cancel donation b / c a project was canceled
async function revertDonation(donation) {
    try {
      const mutation = {
        status: DonationStatus.CANCELED,
      };
      return donations.patch(donation._id, mutation);
    } catch (err) {
      logger.error('Revert donation patch error:', err);
    }
  }
async function revertDonation ( donation ) { try { const mutation = { status : DonationStatus . CANCELED , } ; return donations . patch ( donation . _id , mutation ) ; } catch ( err ) { logger . error ( 'Revert donation patch error:' , err ) ; } }
cancel donation b/c a project was canceled
cancel donation b / c a project was canceled