Skip to content

Commit

Permalink
replace condition w OR
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Oct 29, 2024
1 parent 03e9e2c commit eb2b520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data_source/storage/sql/queries/explorer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ where

let search_query_string = search_query.to_string();

if search_tag != header_tag && search_tag != tx_tag {
if search_tag != header_tag || search_tag != tx_tag {
return Err(GetSearchResultsError::InvalidQuery(errors::BadQuery {}));
}

Expand Down

0 comments on commit eb2b520

Please sign in to comment.