*__get should not be async
This commit is contained in:
parent
702a859661
commit
2f0deaf2bf
2
index.js
2
index.js
|
@ -538,7 +538,7 @@ module.exports = class Protomux {
|
||||||
return this.__get(protocol, id, aliases);
|
return this.__get(protocol, id, aliases);
|
||||||
}
|
}
|
||||||
|
|
||||||
async __get(protocol, id, aliases) {
|
__get(protocol, id, aliases) {
|
||||||
const key = toKey(protocol, id);
|
const key = toKey(protocol, id);
|
||||||
|
|
||||||
let info = this._infos.get(key);
|
let info = this._infos.get(key);
|
||||||
|
|
Reference in New Issue