From 81081c112961cfdebb3b38d0f867d16f01819eda Mon Sep 17 00:00:00 2001 From: Paito Anderson Date: Tue, 8 Jun 2021 14:36:04 -0400 Subject: [PATCH] Fix Lint --- src/features/customer.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/features/customer.js b/src/features/customer.js index 38f9b0e..d686728 100644 --- a/src/features/customer.js +++ b/src/features/customer.js @@ -190,16 +190,11 @@ class Customer { // If no token was provided, look it up from storage const authToken = token || this.token(); - return this.commerce.request( - endpoint, - method, - data, - { - 'X-Authorization': undefined, - Authorization: `Bearer ${authToken}`, - ...extraHeaders, - }, - ); + return this.commerce.request(endpoint, method, data, { + 'X-Authorization': undefined, + Authorization: `Bearer ${authToken}`, + ...extraHeaders, + }); } _assertArgsProvided(customerId = null, token = null) {