diff --git a/src/rest/APIRouter.js b/src/rest/APIRouter.js index 4d1fb5d6b..efb71fa35 100644 --- a/src/rest/APIRouter.js +++ b/src/rest/APIRouter.js @@ -4,7 +4,7 @@ const noop = () => {}; // eslint-disable-line no-empty-function const methods = ['get', 'post', 'delete', 'patch', 'put']; const reflectors = [ 'toString', 'valueOf', 'inspect', 'constructor', - Symbol.toPrimitive, Symbol.for('util.inspect.custom'), + Symbol.toPrimitive, Symbol.for('nodejs.util.inspect.custom'), ]; function buildRoute(manager) {