diff --git a/src/sharding/ShardUtil.js b/src/sharding/ShardUtil.js index bb0641fe2..a2319d322 100644 --- a/src/sharding/ShardUtil.js +++ b/src/sharding/ShardUtil.js @@ -23,7 +23,7 @@ class ShardUtil { } } else if (message._fetchProp) { const props = message._fetchProp.split('.'); - let value = this; // eslint-disable-line consistent-this + let value = this.client; for (const prop of props) value = value[prop]; process.send({ _fetchProp: message._fetchProp, _fetchPropValue: value }); }