diff --git a/gentong.js b/gentong.js index 220c79c..0327035 100644 --- a/gentong.js +++ b/gentong.js @@ -159,7 +159,7 @@ function parseSN(message, _config) { var match_index = 0; if (_config.h2h_out.sn_match_index) { - match_index = Number(_config.h2h_out.sn_match_index) + match_index = Number(_config.h2h_out.sn_match_index); } var sn = sn_match[match_index];