Skip to content
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

refactro(server): job dto #3057

Merged
merged 1 commit into from
Jul 1, 2023
Merged

refactro(server): job dto #3057

merged 1 commit into from
Jul 1, 2023

Conversation

jrasm91
Copy link
Contributor

@jrasm91 jrasm91 commented Jul 1, 2023

Consolidate dto files

@vercel
Copy link

vercel bot commented Jul 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
immich ⬜️ Ignored (Inspect) Jul 1, 2023 0:32am

@@ -17,7 +17,7 @@ export class JobController {
}

@Put(':id')
sendJobCommand(@Param() { id }: JobIdDto, @Body() dto: JobCommandDto): Promise<JobStatusDto> {
sendJobCommand(@Param() { id }: JobIdParamDto, @Body() dto: JobCommandDto): Promise<JobStatusDto> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to regenerate openapi for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't get any changes. I don't think there are "dto"s for params in any of the generated code.

@alextran1502 alextran1502 merged commit 2feac54 into main Jul 1, 2023
19 checks passed
@alextran1502 alextran1502 deleted the refactor/job-dto branch July 1, 2023 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants