-
Notifications
You must be signed in to change notification settings - Fork 8
feat(PM-1794): Update workflow implementation #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: pm-1779
Are you sure you want to change the base?
Conversation
where: { id }, | ||
data: { | ||
...updateDto, | ||
updatedBy, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is either user handle making the call or system
in case of M2M.
import { | ||
ApiBearerAuth, | ||
ApiTags, | ||
ApiOperation, | ||
ApiResponse, | ||
ApiParam, | ||
ApiBody, | ||
} from '@nestjs/swagger'; | ||
import { AiWorkflowService } from './ai-workflow.service'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The import path for AiWorkflowService
has been changed from ./aiWorkflow.service
to ./ai-workflow.service
. Ensure that the file name has been updated accordingly in the file system to prevent import errors.
@Param('id') id: string, | ||
@Body(new ValidationPipe({ whitelist: true, transform: true })) | ||
updateDto: UpdateAiWorkflowDto, | ||
) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The user
parameter has been removed from the method signature, but it is still being used in the updateWorkflow
method call. Ensure that the updateWorkflow
method does not require the userId
parameter anymore, or update the method implementation accordingly.
What's in this PR?
Ticket link - https://topcoder.atlassian.net/browse/PM-1794