Skip to content

Commit ccff0cd

Browse files
committed
feat: set retriedTimes as number
1 parent e77b776 commit ccff0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: parsers/room/pcs-stats.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function parser(log, head) {
4040
parsedData.country = getMatchSimpleValue(log, /(country [A-Z-]+)/);
4141
parsedData.pcType = getMatchSimpleValue(log, /(pcType [a-zA-Z-]+)/);
4242
parsedData.pcState = getMatchSimpleValue(log, /(pcState [a-zA-Z-]+)/);
43-
parsedData.retriedTimes = getMatchSimpleValue(log, /(retriedTimes [0-9]+)/);
43+
parsedData.retriedTimes = Number(getMatchSimpleValue(log, /(retriedTimes [0-9]+)/));
4444
parsedData.iceState = getMatchSimpleValue(log, /(iceState [a-zA-Z-]+)/);
4545
parsedData.profileKey = getMatchSimpleValue(log, /(profileKey [a-zA-Z-]+)/);
4646

0 commit comments

Comments
 (0)