Spaces:
Runtime error
Runtime error
neon_arch
commited on
Commit
β’
03d649b
1
Parent(s):
eee2f11
π₯ chore: remove the debug macro from the code (#302)
Browse files
src/server/routes/search.rs
CHANGED
@@ -142,7 +142,7 @@ async fn results(
|
|
142 |
// check if fetched cache results was indeed fetched or it was an error and if so
|
143 |
// handle the data accordingly.
|
144 |
match cached_results {
|
145 |
-
Ok(results) => Ok(
|
146 |
Err(_) => {
|
147 |
let mut safe_search_level: u8 = match config.safe_search {
|
148 |
3..=4 => config.safe_search,
|
|
|
142 |
// check if fetched cache results was indeed fetched or it was an error and if so
|
143 |
// handle the data accordingly.
|
144 |
match cached_results {
|
145 |
+
Ok(results) => Ok(results),
|
146 |
Err(_) => {
|
147 |
let mut safe_search_level: u8 = match config.safe_search {
|
148 |
3..=4 => config.safe_search,
|