Bug fixed in Postie
This commit is contained in:
parent
a888427777
commit
1651a90dea
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue