Use channel instead of uid for channel delete

This commit is contained in:
Peter Stuifzand 2018-05-13 19:44:42 +02:00
parent da53190a97
commit 532bcf016b

View File

@ -163,7 +163,7 @@ func (c *Client) ChannelsUpdate(uid, name string) microsub.Channel {
func (c *Client) ChannelsDelete(uid string) {
args := make(map[string]string)
args["uid"] = uid
args["channel"] = uid
args["method"] = "delete"
res, err := c.microsubPostRequest("channels", args)
if err != nil {