Implement editing networks
This commit is contained in:
@@ -28,6 +28,13 @@ def get_irc_network(net):
|
||||
return network
|
||||
|
||||
|
||||
def edit_irc_network(net, data):
|
||||
url = f"irc/network/{net}/edit"
|
||||
payload = dict(data)
|
||||
network = threshold_request(url, payload)
|
||||
return network
|
||||
|
||||
|
||||
def get_irc_relays(net):
|
||||
url = f"irc/network/{net}/relays"
|
||||
payload = {}
|
||||
|
||||
Reference in New Issue
Block a user