Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

instant answer: Fix an edge case when a Response was used as a Result #230

Merged
merged 1 commit into from
May 6, 2021

Conversation

amatissart
Copy link
Contributor

In the rare case that a result selected from the geocoder response is not found in the database, get_instant_answer_single_place returns a 204 Response. (This was introduced by #222).
So the returned type was no longer consistent with its usage (leading to a server error instead of the expected 204).

@amatissart amatissart requested a review from remi-dupre May 5, 2021 12:37
@amatissart amatissart merged commit b9e9924 into master May 6, 2021
@amatissart amatissart deleted the ia-fix-item-not-found branch June 16, 2021 08:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants