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:
parent
a1c78ad9d4
commit
017d7538ae
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue