Skip to content

Return proper error when trying to delete non existing schedule #723

@dmatik

Description

@dmatik

What did you have in mind?

When trying to send non existing schedule id in "delete_schedule" body, the response is 200, without any issues.
Nothing is deleted of course, which is fine, but I think we should return some error in this case stating that no such schedule exists.

{ "schedule": "8" }

Are you trying to fix a problem?

No response

Any lead on how this feature can be implemented?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions