From 5dee9aeed4a3c62b7662cf6a1bfac9cf74066b25 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 5 Jan 2023 20:58:39 -0500 Subject: [PATCH] *Unneeded parameter --- src/modules/plugins/dht.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()]; }, });