Skip to content

Commit

Permalink
PM-375: remove console logs used for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilmore-phi committed Nov 26, 2024
1 parent 805f855 commit 2badae5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions blocks/plans-quote/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -920,14 +920,12 @@ export default function formDecoration(block) {
async function executeCostcoFigoPromoCheck() {
// Check if we have a costco figo promo policy id from query string
if (costcoFigoPolicyId) {
console.log('poid', costcoFigoPolicyId);
let hasValidCoupon = false;
let costcoCoupon = null;

// check if we can apply a promo coupon for costco figo
const costcoFigoCouponData = await checkCostcoFigoPromo(costcoFigoPolicyId, countryId);
if (costcoFigoCouponData) {
console.log('costcoFigoCouponData', costcoFigoCouponData);
isMultiPet = costcoFigoCouponData.multiPet ?? true;
costcoCoupon = costcoFigoCouponData.couponCode ?? null;
hasValidCoupon = !!costcoFigoCouponData.couponCode;
Expand Down
2 changes: 1 addition & 1 deletion scripts/24petwatch-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export default class APIClient {
});
}

/** Returns an object with a couponCode and allowMultiPet.
/** Returns an object with a couponCode and allowMultiPet.
* @param subscriberId - string
* @param externalPolicyId - string
* @param country - number
Expand Down

0 comments on commit 2badae5

Please sign in to comment.