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

Fix run detector bug #128

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Fix run detector bug #128

merged 2 commits into from
Jul 10, 2024

Conversation

ao-picterra
Copy link
Collaborator

Fixes a bug introduced in the last commit for which the HTTP API for running detectors accept only a "raster_id" POST field for non-change detectors, but we were sending a "secondary_raster_id" with a None value, resulting in a server error.

The HTTP API for running detectors accept only a "raster_id" POST field
for non-change detectors, but our Python library was sending also a
"secondary_raster_id" with a None value, resulting in a server error.

This fixes it.
@ao-picterra ao-picterra requested a review from julienr July 10, 2024 07:50
@ao-picterra ao-picterra self-assigned this Jul 10, 2024
@julienr julienr merged commit 0da41e0 into master Jul 10, 2024
5 checks passed
@julienr julienr deleted the fix-run-detector-bug branch July 10, 2024 08:44
@stephanerestani-picterra
Copy link
Collaborator

Ah damn, sorry my bad! Thanks for jumping on this!

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.

3 participants