From 7d7cce04eb35fb2b384318fa04bf420c269a5c8b Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 19 Dec 2025 03:53:44 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- api/services/feature_service.py | 2 +- api/services/workspace_service.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/api/services/feature_service.py b/api/services/feature_service.py index 13061f5a7c..9b853b8337 100644 --- a/api/services/feature_service.py +++ b/api/services/feature_service.py @@ -301,7 +301,7 @@ class FeatureService: if "knowledge_pipeline_publish_enabled" in billing_info: features.knowledge_pipeline.publish_enabled = billing_info["knowledge_pipeline_publish_enabled"] - + if "next_credit_reset_date" in billing_info: features.next_credit_reset_date = billing_info["next_credit_reset_date"] diff --git a/api/services/workspace_service.py b/api/services/workspace_service.py index cf2c6cea1c..3ee41c2e8d 100644 --- a/api/services/workspace_service.py +++ b/api/services/workspace_service.py @@ -48,7 +48,6 @@ class WorkspaceService: "replace_webapp_logo": replace_webapp_logo, } if dify_config.EDITION == "CLOUD": - tenant_info["next_credit_reset_date"] = feature.next_credit_reset_date from services.credit_pool_service import CreditPoolService