mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed spelling of 'receive' in a bunch of places
This commit is contained in:
parent
4adca0d850
commit
a679d0de87
4 changed files with 7 additions and 7 deletions
|
|
@ -178,11 +178,11 @@ def actor_from_request(datasette, request):
|
|||
@hookimpl
|
||||
def asgi_wrapper():
|
||||
def wrap(app):
|
||||
async def maybe_set_actor_in_scope(scope, recieve, send):
|
||||
async def maybe_set_actor_in_scope(scope, receive, send):
|
||||
if b"_actor_in_scope" in scope.get("query_string", b""):
|
||||
scope = dict(scope, actor={"id": "from-scope"})
|
||||
print(scope)
|
||||
await app(scope, recieve, send)
|
||||
await app(scope, receive, send)
|
||||
|
||||
return maybe_set_actor_in_scope
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue