mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(db): fix deprecated pydantic .json()
method
This commit is contained in:
parent
55bfadfd0b
commit
03a64275c6
@ -57,7 +57,7 @@ class SqliteWorkflowRecordsStorage(WorkflowRecordsStorageBase):
|
||||
INSERT INTO workflows(workflow)
|
||||
VALUES (?);
|
||||
""",
|
||||
(workflow.json(),),
|
||||
(workflow.model_dump_json(),),
|
||||
)
|
||||
self._conn.commit()
|
||||
except Exception:
|
||||
|
Loading…
Reference in New Issue
Block a user