fix: missing await
This commit is contained in:
commit
10e83d8d55
|
@ -1,3 +1,5 @@
|
|||
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-08-20)
|
||||
|
||||
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.0.1...v0.1.0-develop.1) (2023-08-20)
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@lumeweb/kernel-lavanet",
|
||||
"type": "module",
|
||||
"version": "0.1.0-develop.1",
|
||||
"version": "0.1.0-develop.2",
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -53,7 +53,7 @@ async function handleQuery(aq: ActiveQuery) {
|
|||
await rpc.ready;
|
||||
|
||||
try {
|
||||
aq.respond(lava.sendRelay(query));
|
||||
aq.respond(await lava.sendRelay(query));
|
||||
} catch (e) {
|
||||
aq.reject(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue