mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 11:56:55 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
88969a609b
commit
7d7cce04eb
@ -301,7 +301,7 @@ class FeatureService:
|
|||||||
|
|
||||||
if "knowledge_pipeline_publish_enabled" in billing_info:
|
if "knowledge_pipeline_publish_enabled" in billing_info:
|
||||||
features.knowledge_pipeline.publish_enabled = billing_info["knowledge_pipeline_publish_enabled"]
|
features.knowledge_pipeline.publish_enabled = billing_info["knowledge_pipeline_publish_enabled"]
|
||||||
|
|
||||||
if "next_credit_reset_date" in billing_info:
|
if "next_credit_reset_date" in billing_info:
|
||||||
features.next_credit_reset_date = billing_info["next_credit_reset_date"]
|
features.next_credit_reset_date = billing_info["next_credit_reset_date"]
|
||||||
|
|
||||||
|
|||||||
@ -48,7 +48,6 @@ class WorkspaceService:
|
|||||||
"replace_webapp_logo": replace_webapp_logo,
|
"replace_webapp_logo": replace_webapp_logo,
|
||||||
}
|
}
|
||||||
if dify_config.EDITION == "CLOUD":
|
if dify_config.EDITION == "CLOUD":
|
||||||
|
|
||||||
tenant_info["next_credit_reset_date"] = feature.next_credit_reset_date
|
tenant_info["next_credit_reset_date"] = feature.next_credit_reset_date
|
||||||
|
|
||||||
from services.credit_pool_service import CreditPoolService
|
from services.credit_pool_service import CreditPoolService
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user