mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 18:18:46 +00:00
Comment out unused unsubscribe event
This commit is contained in:
@@ -39,7 +39,8 @@ const unsubscribe = function(id){
|
||||
subscribers
|
||||
.filter((sub)=>{return sub.id == id;})
|
||||
.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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user