fix: update return type
This commit is contained in:
parent
0ee37e19a2
commit
b369ef0be0
|
@ -3,7 +3,7 @@ import { Client, factory } from "@lumeweb/libkernel/module";
|
||||||
export const MODULE = "zrjTW4BiiJV7U8toTwqEMyzRbBy5G1nkdVRc34nW8LTmkEf";
|
export const MODULE = "zrjTW4BiiJV7U8toTwqEMyzRbBy5G1nkdVRc34nW8LTmkEf";
|
||||||
|
|
||||||
export class LavaNetClient extends Client {
|
export class LavaNetClient extends Client {
|
||||||
public async query(chain: string, query: any): Promise<number> {
|
public async query(chain: string, query: any): Promise<any> {
|
||||||
return this.callModuleReturn("query", { chain, query });
|
return this.callModuleReturn("query", { chain, query });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue