diff --git a/invokeai/app/services/workflow_records/workflow_records_sqlite.py b/invokeai/app/services/workflow_records/workflow_records_sqlite.py index e9e2bdca3a..b0952e8234 100644 --- a/invokeai/app/services/workflow_records/workflow_records_sqlite.py +++ b/invokeai/app/services/workflow_records/workflow_records_sqlite.py @@ -57,7 +57,7 @@ class SqliteWorkflowRecordsStorage(WorkflowRecordsStorageBase): INSERT INTO workflows(workflow) VALUES (?); """, - (workflow.json(),), + (workflow.model_dump_json(),), ) self._conn.commit() except Exception: