philomena/lib/philomena_web/controllers/api
SomewhatDamaged 8e39c06940 Fix for distance (#16)
* Fix for distance

Fixes the `distance` to search not being passed through to `ImageReverse.images()`

`set_scraper_cache` passes the `distance` through into `params`
`create` normalizes and inserts the result into the params passed to `ImageReverse.images()`
`normalize_dist` checks if there is a `distance` set, adds a leading 0 to it (to account for values like `.5`, which would crash `Float.parse()`), and turns it back into a well-formatted string for `ImageReverse.images()`

* Fixed space
2020-01-03 10:37:20 -05:00
..
json Fix for distance (#16) 2020-01-03 10:37:20 -05:00
rss break compile time dependencies for elasticsearch index usage 2019-12-24 16:14:42 -05:00