File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
backend/plugins/circleci/tasks Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ func ConvertWorkflows(taskCtx plugin.SubTaskContext) errors.Error {
6060 Input : cursor ,
6161 Convert : func (inputRow interface {}) ([]interface {}, errors.Error ) {
6262 userTool := inputRow .(* models.CircleciWorkflow )
63- // Skip if CreatedDate is null or empty string - still enters into the `_tool_circleci_workflows` table with null values
64- if userTool .CreatedDate .ToNullableTime () == nil {
65- logger .Info ("CreatedDate is null or empty string in the CircleCI API response for %s" , userTool .PipelineId )
63+ // Skip if CreatedAt is null or empty string - still enters into the `_tool_circleci_workflows` table with null values
64+ if userTool .CreatedAt .ToNullableTime () == nil {
65+ logger .Info ("CreatedAt is null or empty string in the CircleCI API response for %s" , userTool .PipelineId )
6666 return []interface {}{}, nil
6767 }
68- createdAt := userTool .CreatedDate .ToTime ()
68+ createdAt := userTool .CreatedAt .ToTime ()
6969 pipeline := & devops.CICDPipeline {
7070 DomainEntity : domainlayer.DomainEntity {
7171 Id : getWorkflowIdGen ().Generate (data .Options .ConnectionId , userTool .Id ),
You can’t perform that action at this time.
0 commit comments