Bug fixed in Postie

This commit is contained in:
unknown 2021-09-12 09:12:59 +05:30
parent aac83936d8
commit 626a0e83bf

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;
} }