feat: readme fix + serialize fn defaults

This commit is contained in:
tiagosiebler
2020-10-08 22:16:53 +01:00
parent 2ec70f22c2
commit 24d8ce58f1
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ module.exports = {
.update(message)
.digest('hex');
},
serializeParams(params, strict_validation) {
serializeParams(params = {}, strict_validation = false) {
return Object.keys(params)
.sort()
.map(key => {