modify unsubscribe response
This commit is contained in:
@@ -45,7 +45,7 @@ func (r *Response) AddSubscription(sub Subscription) {
|
||||
|
||||
// Add new unsubscribe to response collection
|
||||
func (r *Response) AddUnsubscription(sub Subscription) {
|
||||
r.Subscribe = append(r.Subscribe, sub)
|
||||
r.Unsubscribe = append(r.Unsubscribe, sub)
|
||||
}
|
||||
|
||||
// Add new data publish to response
|
||||
|
Reference in New Issue
Block a user