diff --git a/backend/moonstream/routes/users.py b/backend/moonstream/routes/users.py index 6a04501b..c414fabf 100644 --- a/backend/moonstream/routes/users.py +++ b/backend/moonstream/routes/users.py @@ -186,7 +186,6 @@ async def tokens_handler(request: Request) -> BugoutUserTokens: async def token_update_handler( request: Request, token_note: str = Form(...), access_token: str = Form(...) ) -> BugoutToken: - token = request.state.token try: response = bc.update_token(token=access_token, token_note=token_note) except BugoutResponseException as e: