mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 00:18:28 +08:00
fix bug
This commit is contained in:
parent
32b2d19622
commit
02852ee543
@ -723,7 +723,7 @@ class ProviderConfiguration(BaseModel):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
provider_record.credential_id = None
|
provider_record.credential_id = None
|
||||||
provider_record.credential_status = CredentialStatus.CANCEL.value
|
provider_record.credential_status = CredentialStatus.CANCELED.value
|
||||||
provider_record.updated_at = naive_utc_now()
|
provider_record.updated_at = naive_utc_now()
|
||||||
session.commit()
|
session.commit()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user