[openstreetmap/openstreetmap-website] Get directions using fetch (PR #5642)
Marwin Hochfelsner
notifications at github.com
Tue Feb 11 19:54:59 UTC 2025
@hlfan commented on this pull request.
> if (response.code !== "Ok") {
- return callback(true);
+ throw new TypeError("Response " + response.code);
I'll change it, don't worry, but I want to put the requesting to another test I've come up with first
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5642#discussion_r1951507593
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5642/review/2609886060 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250211/ee6f5372/attachment.htm>
More information about the rails-dev
mailing list