Skip to content

Commit

Permalink
Fix commerce.customer() responses
Browse files Browse the repository at this point in the history
  • Loading branch information
PaitoAnderson committed Jun 8, 2021
1 parent abce28f commit f10ab43
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/features/customer.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ class Customer {
Authorization: `Bearer ${authToken}`,
...extraHeaders,
},
authToken,
);
}

Expand Down
10 changes: 0 additions & 10 deletions src/features/tests/customer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});
});
Expand Down Expand Up @@ -105,7 +104,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);

const result = await returnValue;
Expand Down Expand Up @@ -143,7 +141,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});

Expand All @@ -160,7 +157,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});
});
Expand All @@ -184,7 +180,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});

Expand Down Expand Up @@ -222,7 +217,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});

Expand All @@ -242,7 +236,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});
});
Expand All @@ -260,7 +253,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});

Expand Down Expand Up @@ -295,7 +287,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});

Expand All @@ -312,7 +303,6 @@ describe('Customer', () => {
'X-Authorization': undefined,
Authorization: 'Bearer ABC-123-ZYX-234',
},
'ABC-123-ZYX-234',
);
});
});
Expand Down

0 comments on commit f10ab43

Please sign in to comment.