refactor: updatedAt
This commit is contained in:
@@ -33,7 +33,7 @@ interface MetaData {
|
||||
id: string;
|
||||
createdAt: string;
|
||||
pairs: number;
|
||||
update_date: string;
|
||||
updatedAt: string;
|
||||
params: string[],
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ export class WorkflowGenerator {
|
||||
id: '',
|
||||
createdAt: '',
|
||||
pairs: 0,
|
||||
update_date: '',
|
||||
updatedAt: '',
|
||||
params: [],
|
||||
}
|
||||
|
||||
@@ -483,7 +483,7 @@ export class WorkflowGenerator {
|
||||
id: uuid(),
|
||||
createdAt: this.recordingMeta.createdAt || new Date().toLocaleString(),
|
||||
pairs: recording.workflow.length,
|
||||
update_date: new Date().toLocaleString(),
|
||||
updatedAt: new Date().toLocaleString(),
|
||||
params: this.getParams() || [],
|
||||
}
|
||||
fs.mkdirSync('../storage/recordings', { recursive: true })
|
||||
|
||||
Reference in New Issue
Block a user