mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix-Fix-the-bug-where,-when-file-upload-is-enabled,-messages-cannot-be-sent-in-the-chat-window-after-transitioning-from-the-old-workflow-features-structure-to-the-new-one
fix-Fix-the-bug-where,-when-file-upload-is-enabled,-messages-cannot-be-sent-in-the-chat-window-after-transitioning-from-the-old-workflow-features-structure-to-the-new-one
This commit is contained in:
parent
8942f528bb
commit
09c23c6918
|
@ -151,14 +151,6 @@ class Workflow(db.Model):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def features(self) -> str:
|
def features(self) -> str:
|
||||||
"""
|
|
||||||
Convert old features structure to new features structure.
|
|
||||||
"""
|
|
||||||
if not self._features:
|
|
||||||
return self._features
|
|
||||||
|
|
||||||
features = json.loads(self._features)
|
|
||||||
self._features = json.dumps(features)
|
|
||||||
return self._features
|
return self._features
|
||||||
|
|
||||||
@features.setter
|
@features.setter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user