Commit Graph
3 Commits
Author SHA1 Message Date
Sebastian Martinez f2c7bb71c7 Handle json! panick trying to serialize non utf8 lines
Instead of panicking when trying to handle non utf8 lines we should
return `null` as line output.

This way we can on the frontend detect if a file has any lines the api
wasn't able to parse and fallback to show a file as a `Binary File`
2025-03-19 11:12:04 -06:00
Sebastian Martinez 9dd61d3bf3 http: Apply warnings from clippy 2024-09-04 07:24:34 +02:00
Sebastian Martinez fc83829ef6 http: Decouple api responses from heartwood crates 2024-09-03 15:22:22 +02:00