Skip to content

Commit e13d70c

Browse files
committed
v1.2.8
1 parent b63f6db commit e13d70c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

my_modules/statistics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ exports.sendStats = (stats) => {
4747
},
4848
json: true
4949
};
50-
request.get(url + JSON.stringify(stats), options, (error, res, body) => {
50+
request.get(url + encodeURIComponent(JSON.stringify(stats)), options, (error, res, body) => {
5151
if (error) {
5252
return console.error("WARNING! Error when sending stats: " + error)
5353
} else {

0 commit comments

Comments
 (0)