Skip to content

Commit

Permalink
Fix auth context invocation (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerpogo authored Jul 27, 2021
1 parent 4596503 commit 4bac190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replit/web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
from .utils import *
from ..database import AsyncDatabase, Database, db

auth = LocalProxy(lambda: ReplitAuthContext(flask.request.headers))
auth = LocalProxy(lambda: ReplitAuthContext.from_headers(flask.request.headers))

0 comments on commit 4bac190

Please sign in to comment.