File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ async def get_current_user(
4545 if token is None or token == "" :
4646 raise HTTPException (status_code = 404 , detail = "Access token not found" )
4747
48- signature_application : str = request .headers .get (BUGOUT_APPLICATION_ID_HEADER )
48+ signature_application : str = request .headers .get (BUGOUT_APPLICATION_ID_HEADER ) # type: ignore
4949 application_id = None
5050 if signature_application is not None :
5151 try :
@@ -141,7 +141,7 @@ async def get_current_user_with_groups(
141141 if token is None or token == "" :
142142 raise HTTPException (status_code = 404 , detail = "Access token not found" )
143143
144- signature_application : str = request .headers .get (BUGOUT_APPLICATION_ID_HEADER )
144+ signature_application : str = request .headers .get (BUGOUT_APPLICATION_ID_HEADER ) # type: ignore
145145 application_id = None
146146 if signature_application is not None :
147147 try :
@@ -225,7 +225,7 @@ def autogenerated_user_token_check(request: Request) -> bool:
225225 is_autogenerated_user = False
226226 installation_token_header : Optional [str ] = request .headers .get (
227227 BOT_INSTALLATION_TOKEN_HEADER , None
228- )
228+ ) # type: ignore
229229 if (
230230 installation_token_header is not None
231231 and BOT_INSTALLATION_TOKEN == installation_token_header
You can’t perform that action at this time.
0 commit comments