diff --git a/app/api/routes.py b/app/api/routes.py index 112f812..2e62bb3 100644 --- a/app/api/routes.py +++ b/app/api/routes.py @@ -752,7 +752,8 @@ def is_admin() -> bool: def get_pow_secret() -> bytes: """Get PoW signing secret from app config.""" - return current_app.config["POW_SECRET"].encode() + secret: str = current_app.config["POW_SECRET"] + return secret.encode() def generate_challenge(difficulty_override: int | None = None) -> dict[str, Any]: