feat(assist): the same approach for emit call
This commit is contained in:
parent
c5bc804990
commit
5cceea06ce
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ function startCacheRefresher() {
|
|||
|
||||
function sendFrom(from, to, eventName, ...data) {
|
||||
if (useStickySessions) {
|
||||
from.to(to).local().emit(eventName, ...data);
|
||||
from.local.to(to).emit(eventName, ...data);
|
||||
} else {
|
||||
from.to(to).emit(eventName, ...data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue