Use channel instead of uid for channel delete
This commit is contained in:
parent
da53190a97
commit
532bcf016b
|
@ -163,7 +163,7 @@ func (c *Client) ChannelsUpdate(uid, name string) microsub.Channel {
|
||||||
|
|
||||||
func (c *Client) ChannelsDelete(uid string) {
|
func (c *Client) ChannelsDelete(uid string) {
|
||||||
args := make(map[string]string)
|
args := make(map[string]string)
|
||||||
args["uid"] = uid
|
args["channel"] = uid
|
||||||
args["method"] = "delete"
|
args["method"] = "delete"
|
||||||
res, err := c.microsubPostRequest("channels", args)
|
res, err := c.microsubPostRequest("channels", args)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user