Skip to content

Commit

Permalink
fix: config parsing
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
  • Loading branch information
hacdias committed Oct 10, 2020
1 parent 456bea1 commit 96a3c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function fixConfig (config) {

for (let [key, value] of Object.entries(config)) {
if (key === 'callbackState') key = 'State'
parsed[key.charAt(0).toUpperCase() + key.slice(1)] = value
parsed[key.charAt(0).toUpperCase() + key.slice(1)] = fixConfig(value)
}

return parsed
Expand Down

0 comments on commit 96a3c43

Please sign in to comment.