feat(assist): the same approach for emit call

This commit is contained in:
Alexander 2025-03-20 17:18:03 +01:00
parent c5bc804990
commit 5cceea06ce

View file

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