neon_arch commited on
Commit
03d649b
β€’
1 Parent(s): eee2f11

πŸ”₯ chore: remove the debug macro from the code (#302)

Browse files
Files changed (1) hide show
  1. src/server/routes/search.rs +1 -1
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(dbg!(results.clone())),
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,