From 2ad735bf02a004a04239bf2a442f0505cf476082 Mon Sep 17 00:00:00 2001 From: Sagleft Date: Wed, 30 Nov 2022 21:56:08 +0200 Subject: [PATCH] remove unused arg --- v2/internal/utopia/client.go | 2 +- v2/messenger.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/internal/utopia/client.go b/v2/internal/utopia/client.go index 3c88d62..38bfa3d 100644 --- a/v2/internal/utopia/client.go +++ b/v2/internal/utopia/client.go @@ -426,7 +426,7 @@ func (c *UtopiaClient) ToogleChannelNotifications(channelID string, enabled bool } // GetNetworkConnections - get current network peers -func (c *UtopiaClient) GetNetworkConnections(channelID string) ([]structs.PeerInfo, error) { +func (c *UtopiaClient) GetNetworkConnections() ([]structs.PeerInfo, error) { response, err := c.apiQuery("getNetworkConnections", map[string]interface{}{}) if err != nil { return nil, err diff --git a/v2/messenger.go b/v2/messenger.go index ecab041..47a965d 100644 --- a/v2/messenger.go +++ b/v2/messenger.go @@ -122,7 +122,7 @@ type Client interface { ToogleChannelNotifications(channelID string, enabled bool) error // GetNetworkConnections - get current network peers - GetNetworkConnections(channelID string) ([]structs.PeerInfo, error) + GetNetworkConnections() ([]structs.PeerInfo, error) } type Config = utopia.Config