fix(billing_service): change retry condition to handle specific reque… (#12091)

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
This commit is contained in:
-LAN-
2024-12-25 18:40:27 +08:00
committed by GitHub
parent a1c78ad9d4
commit 017d7538ae
2 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ class FeatureService:
cls._fulfill_params_from_env(features)
if dify_config.BILLING_ENABLED:
if dify_config.BILLING_ENABLED and tenant_id:
cls._fulfill_params_from_billing_api(features, tenant_id)
return features