Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit cd892dc

Browse files
committed
auth: django: fix wrong usage of prepare_request() in login rpc method
Signed-off-by: Florian Scherf <f.scherf@pengutronix.de>
1 parent 9628f13 commit cd892dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiohttp_json_rpc/auth/django.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ async def login(self, request):
175175
)
176176

177177
# rediscover methods and topics
178-
self.prepare_request(request.http_request, user=user)
178+
await self.prepare_request(request.http_request, user=user)
179179

180180
return True
181181

0 commit comments

Comments
 (0)