*Unneeded parameter
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
2ae556ad14
commit
5dee9aeed4
|
@ -24,7 +24,7 @@ const plugin: Plugin = {
|
||||||
|
|
||||||
api.registerMethod("get_topics", {
|
api.registerMethod("get_topics", {
|
||||||
cacheable: false,
|
cacheable: false,
|
||||||
async handler(topic: string): Promise<string[]> {
|
async handler(): Promise<string[]> {
|
||||||
return [...api.swarm.peers.keys()];
|
return [...api.swarm.peers.keys()];
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue