Skip to content

Commit 8983c07

Browse files
committed
Fix type
1 parent b662753 commit 8983c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/common/rs_server_common/authentication/keycloak_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def get_user_info(self, user_id: str) -> KCInfo:
8888
# If the user is not found, this means he was removed from keycloak.
8989
# Thus we must remove all his api keys from the database.
9090
if (error.response_code == HTTP_404_NOT_FOUND) and (
91-
"User not found" in error.response_body.decode("utf-8")
91+
"User not found" in error.response_body.decode("utf-8") # type: ignore
9292
):
9393
logger.warning(f"User '{user_id}' not found in keycloak.")
9494
return KCInfo(False, [])

0 commit comments

Comments
 (0)