Skip to content

Commit

Permalink
[chore]: Update pipeline enumeration types
Browse files Browse the repository at this point in the history
  • Loading branch information
zzyangh committed Sep 6, 2024
1 parent a6b0e02 commit 80339f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/sqle/src/page/PipelineConfiguration/Update/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import { useRequest } from 'ahooks';
import { ResponseCode } from '@actiontech/shared/lib/enum';
import { omit } from 'lodash';
import {
pipelineNodeToBeUpdatedAuditMethodEnum,
pipelineNodeToBeUpdatedObjectTypeEnum,
pipelineNodeToBeUpdatedTypeEnum
updatePipelineNodeAuditMethodEnum,
updatePipelineNodeObjectTypeEnum,
updatePipelineNodeTypeEnum
} from '@actiontech/shared/lib/api/sqle/service/common.enum';
import usePipelineConfigurationFormState from '../Common/ConfigurationForm/hooks/usePipelineConfigurationFormState';

Expand Down Expand Up @@ -81,10 +81,10 @@ const CreatePipelineConfiguration = () => {
...i,
id: isNaN(parseInt(i?.id)) ? undefined : parseInt(i?.id),
audit_method:
i.audit_method as unknown as pipelineNodeToBeUpdatedAuditMethodEnum,
i.audit_method as unknown as updatePipelineNodeAuditMethodEnum,
object_type:
i.object_type as unknown as pipelineNodeToBeUpdatedObjectTypeEnum,
type: i.type as unknown as pipelineNodeToBeUpdatedTypeEnum
i.object_type as unknown as updatePipelineNodeObjectTypeEnum,
type: i.type as unknown as updatePipelineNodeTypeEnum
})) ?? []
})
.then((res) => {
Expand Down

0 comments on commit 80339f2

Please sign in to comment.