Skip to content

Commit

Permalink
'lint'
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfujita committed Dec 5, 2022
1 parent d9a885d commit 942fdc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function handleHTTP(globalArgs, req, res, next, callback, isPost) {
const providedArgsCount = providedArgs.length;
for (let i = 0; i < providedArgsCount; i += 1) {
const providedArg = providedArgs[i];
const argValues = {...req.headers, ...(isPost ? req.body : req.query)};
const argValues = { ...req.headers, ...(isPost ? req.body : req.query) };
const value = argValues[providedArg.name] || argValues[providedArg.name.toLowerCase()];
if (value != null) {
let validType = null;
Expand Down

0 comments on commit 942fdc1

Please sign in to comment.