Skip to content

Commit

Permalink
chore: rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sai Sankeerth committed Jun 25, 2024
1 parent bb4f173 commit 88f1146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adapters/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ const getResponseDetails = (clientResponse) => {
};

const getHttpMethodArgs = (method, { url, data, requestOptions }) => {
const lowercasedMethod = method?.toLowerCase?.();
switch (lowercasedMethod) {
const requestMethod = method?.toLowerCase?.();
switch (requestMethod) {
case 'post':
case 'put':
case 'patch':
Expand Down

0 comments on commit 88f1146

Please sign in to comment.