Skip to content

Fix schedule API update silently dropping completed_at#359

Open
ashwinuae wants to merge 2 commits into
cachethq:mainfrom
ashwinuae:fix-completedAt-schedule-update
Open

Fix schedule API update silently dropping completed_at#359
ashwinuae wants to merge 2 commits into
cachethq:mainfrom
ashwinuae:fix-completedAt-schedule-update

Conversation

@ashwinuae

Copy link
Copy Markdown
Contributor

UpdateScheduleRequestData was missing the completedAt property (which was present in CreateScheduleRequestData), so the field was silently dropped on a schedule update via the API. This PR fixes it by mirroring it to the create DTO.

Fixes cachethq/cachet#4619

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.

Unable to update the completed_at field for a schedule via the API

1 participant