Bug fixed in Postie

This commit is contained in:
unknown 2021-09-12 09:12:59 +05:30
parent a888427777
commit 1651a90dea

View file

@ -30,8 +30,8 @@ class Postie {
} }
hasTopicAndSubscriber(topic, address) { hasTopicAndSubscriber(topic, address) {
return (this.isTopicExist(topic)) return (this.hasTopic(topic))
? this.isSubscriberExist(topic, address) ? this.hasSubscriber(topic, address)
: false; : false;
} }