diff --git a/rpc.js b/rpc.js index 3e28f7fed..dc5c539e3 100644 --- a/rpc.js +++ b/rpc.js @@ -436,6 +436,7 @@ var updateLimits = function (config, publicKey, cb /*:(?string, ?any[])=>void*/) k.replace(/\/([^\/]+)$/, function (all, safeKey) { var id = unescapeKeyCharacters(safeKey || ''); limits[id] = custom[k]; + return ''; }); }); return limits;