From 7b813ffb70c5e55533a920c17f30c97a0583fb2d Mon Sep 17 00:00:00 2001 From: Sarah Date: Sun, 17 Oct 2021 03:14:21 +0200 Subject: [PATCH] access correct store. --- peerix/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peerix/app.py b/peerix/app.py index bca7257..c2cae01 100644 --- a/peerix/app.py +++ b/peerix/app.py @@ -68,4 +68,4 @@ async def push_nar(req: Request) -> Response: @app.route("/remote/{path:path}") async def pull_nar(req: Request) -> Response: - return StreamingResponse(l_access.nar(f"remote/{req.path_params['path']}"), media_type="text/plain") + return StreamingResponse(r_access.nar(f"remote/{req.path_params['path']}"), media_type="text/plain")