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
commit 017d7538ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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