Skip to content

Commit 8762e85

Browse files
committed
Use console log levels (baseline: widely-available)
1 parent bf836aa commit 8762e85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

djangoproject/static/js/mod/stripe-donation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ define([
2020
data: data,
2121
dataType: 'json',
2222
success: (data) => {
23-
console.info(data);
23+
console.debug(data);
2424
if (data.success) {
2525
const stripe = Stripe($donationForm.data('stripeKey'));
2626
return stripe.redirectToCheckout({ sessionId: data.sessionId });
@@ -54,7 +54,7 @@ define([
5454
// NOTE: the `action` key must match the one defined on the widget.
5555
grecaptcha.execute(public_key, { action: 'form' }).then((token) => {
5656
captcha_input.value = token;
57-
console.info('reCAPTCHA validated. Posting to stripe...');
57+
console.debug('reCAPTCHA validated. Posting to stripe...');
5858
postToStripe(token);
5959
});
6060
});

0 commit comments

Comments
 (0)