fix: couldn't get certificate effect time or expire time

This commit is contained in:
Fu Diwei
2025-01-05 01:27:21 +08:00
parent 3c70a4f455
commit 8cf1ffd38b
3 changed files with 5 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ func record2Workflow(record *models.Record) (*domain.Workflow, error) {
HasDraft: record.GetBool("hasDraft"),
LastRunId: record.GetString("lastRunId"),
LastRunStatus: domain.WorkflowRunStatusType(record.GetString("lastRunStatus")),
LastRunTime: record.GetTime("lastRunTime"),
LastRunTime: record.GetDateTime("lastRunTime").Time(),
}
return workflow, nil
}