Skip to content

Commit 6ead706

Browse files
committed
Use console log levels (baseline: widely-available)
1 parent 765e4ec commit 6ead706

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.log(data);
23+
console.debug(data);
2424
if (data.success) {
2525
const stripe = Stripe($donationForm.data('stripeKey'));
2626
return stripe.redirectToCheckout({ sessionId: data.sessionId });
@@ -51,7 +51,7 @@ define([
5151
// NOTE: the `action` key must match the one defined on the widget.
5252
grecaptcha.execute(public_key, { action: 'form' }).then((token) => {
5353
captcha_input.value = token;
54-
console.log('reCAPTCHA validated. Posting to stripe...');
54+
console.debug('reCAPTCHA validated. Posting to stripe...');
5555
postToStripe(token);
5656
});
5757
});

0 commit comments

Comments
 (0)