mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 22:38:43 +00:00
Comment out unused unsubscribe event
This commit is contained in:
@@ -39,7 +39,8 @@ const unsubscribe = function(id){
|
|||||||
subscribers
|
subscribers
|
||||||
.filter((sub)=>{return sub.id == id;})
|
.filter((sub)=>{return sub.id == id;})
|
||||||
.forEach((sub)=>{
|
.forEach((sub)=>{
|
||||||
Stream.emit('sendUpdate', 'unsubscribe', { id: sub.id, shareId: sub.shareId });
|
// Unsubscribe event - not currently used
|
||||||
|
// Stream.emit('sendUpdate', 'unsubscribe', { id: sub.id, shareId: sub.shareId });
|
||||||
sub?.stream?.status(200).end();
|
sub?.stream?.status(200).end();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user