Skip to content

Commit a311684

Browse files
committed
fix consumer
1 parent 6fac511 commit a311684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/consumers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async def connect(self):
99
await self.accept()
1010
print(f"Added {self.channel_name} channel to notifier")
1111

12-
async def disconnect(self):
12+
async def disconnect(self,status_code):
1313
await self.channel_layer.group_discard("notifier", self.channel_name)
1414
print(f"Removed {self.channel_name} channel to notifier")
1515

0 commit comments

Comments
 (0)