Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arzitney committed Aug 1, 2023
1 parent bec6a02 commit 12cf13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recurly/venmo/strategy/braintree.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class BraintreeStrategy extends VenmoStrategy {
if (error) return this.fail('venmo-braintree-api-error', { cause: error });
debug('Braintree client created');
braintree.dataCollector.create({ client, paypal: true }, (error, collector) => {
if (error) return this.fail('venmo-braintree-api-error', { casue: error });
if (error) return this.fail('venmo-braintree-api-error', { cause: error });
debug('Device data collector created');
this.deviceFingerprint = collector.deviceData;
braintree.venmo.create({ client, allowDesktop: true }, (error, venmo) => {
Expand Down

0 comments on commit 12cf13f

Please sign in to comment.