From 2f0deaf2bf7fd5498a869942212bbaa4137de58b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 7 Apr 2023 02:15:02 -0400 Subject: [PATCH] *__get should not be async --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7a53b1e..0734c4d 100644 --- a/index.js +++ b/index.js @@ -538,7 +538,7 @@ module.exports = class Protomux { return this.__get(protocol, id, aliases); } - async __get(protocol, id, aliases) { + __get(protocol, id, aliases) { const key = toKey(protocol, id); let info = this._infos.get(key);