Skip to content

Commit

Permalink
remove unused arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagleft committed Nov 30, 2022
1 parent 7656227 commit 2ad735b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v2/internal/utopia/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion v2/messenger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ad735b

Please sign in to comment.