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

New route param to allow removing a single image from observation #2162

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

nimmolo
Copy link
Contributor

@nimmolo nimmolo commented Jun 5, 2024

Preparation for revised obs form - this route is as yet unused in the front end.

Allows detaching an image from an obs by sending a simple PUT request to
/observations/:id/images/:image_id/detach
with no other parameters.

Includes new test.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 94.429%. remained the same
when pulling 666f749 on nimmo-try-single-image-detach-route
into a45859f on main.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 94.429%. remained the same
when pulling 99bf823 on nimmo-try-single-image-detach-route
into a45859f on main.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 94.429%. remained the same
when pulling 99bf823 on nimmo-try-single-image-detach-route
into a45859f on main.

@nimmolo nimmolo marked this pull request as ready for review June 5, 2024 09:06
@nimmolo nimmolo changed the title Create new route param to allow removing a single image from observation New route param to allow removing a single image from observation Jun 5, 2024
@nimmolo nimmolo merged commit de86988 into main Jun 5, 2024
5 checks passed
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.

2 participants