From 21d3d66908c72a87767aa40b7efcf725889a6342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20R=2E=20Sede=C3=B1o?= Date: Sat, 24 Jun 2023 10:32:47 -0400 Subject: [PATCH] misc typos --- roost_backend/subscribers.py | 3 ++- roost_backend/views.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roost_backend/subscribers.py b/roost_backend/subscribers.py index b5bfde8..bbb9392 100644 --- a/roost_backend/subscribers.py +++ b/roost_backend/subscribers.py @@ -70,7 +70,8 @@ async def channel_layer_resubscribe(self): await asyncio.sleep(self.channel_layer.group_expiry / 2) async def channel_layer_handler(self): - # Initialize channel layer.' + # Initialize channel layer. + self.channel_layer = channels.layers.get_channel_layer(self.channel_layer_alias) self.channel_name = await self.channel_layer.new_channel() self.channel_receive = functools.partial(self.channel_layer.receive, self.channel_name) diff --git a/roost_backend/views.py b/roost_backend/views.py index b11fd83..0f9d5f2 100644 --- a/roost_backend/views.py +++ b/roost_backend/views.py @@ -223,7 +223,7 @@ def get(self, request): def post(self, request): # Accept, validate, and then promptly ignore credentials. - # If they were included, they auth layer pushed them to the user process. + # If they were included, the auth layer pushed them to the user process. ret = request.zephyr_credentials is not None return Response({ 'refreshed': ret,