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) {
return (this.isTopicExist(topic))
? this.isSubscriberExist(topic, address)
return (this.hasTopic(topic))
? this.hasSubscriber(topic, address)
: false;
}