✨ Add support for PostgresDB and save date as Date
This commit is contained in:
@@ -269,7 +269,7 @@ export const restApi = Vue.extend({
|
||||
|
||||
// Returns all saved executions
|
||||
// TODO: For sure needs some kind of default filter like last day, with max 10 results, ...
|
||||
getPastExecutions: (filter: object, limit: number, lastStartedAt?: number): Promise<IExecutionsListResponse> => {
|
||||
getPastExecutions: (filter: object, limit: number, lastStartedAt?: Date): Promise<IExecutionsListResponse> => {
|
||||
let sendData = {};
|
||||
if (filter) {
|
||||
sendData = {
|
||||
|
||||
@@ -144,8 +144,8 @@ export const workflowRun = mixins(
|
||||
id: '__IN_PROGRESS__',
|
||||
finished: false,
|
||||
mode: 'manual',
|
||||
startedAt: new Date().getTime(),
|
||||
stoppedAt: 0,
|
||||
startedAt: new Date(),
|
||||
stoppedAt: undefined,
|
||||
workflowId: workflow.id,
|
||||
data: {
|
||||
resultData: {
|
||||
|
||||
Reference in New Issue
Block a user