Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthb committed Sep 18, 2022
1 parent 4ebb80f commit 5ed7181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"""
from pathlib import Path

from aiohttp_oauthlib import OAuth2Session
from aiohttp_oauthlib import OAuth2Session # type: ignore
from fastapi import FastAPI
from fastapi.requests import Request
from fastapi.responses import RedirectResponse
Expand Down Expand Up @@ -106,7 +106,7 @@ async def auth_callback(request: Request) -> RedirectResponse:
client_secret=str(GITHUB_OAUTH_CLIENT_SECRET),
authorization_response=request.url,
)
del request.sesssion["oauth_state"]
del request.session["oauth_state"]
request.session["token"] = token
return RedirectResponse("/")

Expand Down

0 comments on commit 5ed7181

Please sign in to comment.