modify unsubscribe response

This commit is contained in:
Adrian Zürcher
2025-05-11 16:32:39 +02:00
parent e3487eb340
commit 3accf6fc06

View File

@@ -45,7 +45,7 @@ func (r *Response) AddSubscription(sub Subscription) {
// Add new unsubscribe to response collection // Add new unsubscribe to response collection
func (r *Response) AddUnsubscription(sub Subscription) { func (r *Response) AddUnsubscription(sub Subscription) {
r.Subscribe = append(r.Subscribe, sub) r.Unsubscribe = append(r.Unsubscribe, sub)
} }
// Add new data publish to response // Add new data publish to response