Skip to content

Commit f8463c2

Browse files
committed
camelCase
1 parent 6fb6740 commit f8463c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routes/pronounce.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ router.get("/:word", function (req, res) {
1212
res.header("Strict-Transport-Security", "max-age=63072000");
1313
res.setHeader("Content-Type", "application/json");
1414

15-
var userword = encodeURIComponent(req.params.word) || "Automation";
16-
let wordData = pronounce(userword);
15+
var userWord = encodeURIComponent(req.params.word) || "Automation";
16+
let wordData = pronounce(userWord);
1717
var pronouncedWord = decodeURIComponent(wordData);
1818
res.status(200).json(pronouncedWord);
1919

0 commit comments

Comments
 (0)