EventSub.DeleteEventSubSubscriptionAsync returns false when successful
Closed this issue · 0 comments
keraf commented
Hi there!
Not sure if EventSub.DeleteEventSubSubscriptionAsync
is supposed to return false when successful instead of true, but it seems incorrect to me. If that's not the case, please feel free to close this issue.
I have done a little bit of digging, and it returns false because there is a check here that returns false if the response value is either null or empty. This endpoint, when successful, returns a 204 (no content) which returns false under the mentioned check. When unsuccessful, an exception is thrown.