diff --git a/src/modules/plugins/dht.ts b/src/modules/plugins/dht.ts index bc97d53..7a0e93b 100644 --- a/src/modules/plugins/dht.ts +++ b/src/modules/plugins/dht.ts @@ -24,7 +24,7 @@ const plugin: Plugin = { api.registerMethod("get_topics", { cacheable: false, - async handler(topic: string): Promise { + async handler(): Promise { return [...api.swarm.peers.keys()]; }, });