Skip to content

Commit

Permalink
Add fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastjanPrachovskij committed Sep 17, 2024
1 parent 9a10ab1 commit eefe11f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/blocks/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl Block for Search {
let url = format!(
"https://www.searchapi.io/api/v1/search?q={}&engine={}&num={}",
encode(&query),
self.engine
self.engine,
num.unwrap_or(10)
);

Expand Down
2 changes: 1 addition & 1 deletion front/pages/api/w/[wId]/providers/[pId]/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ async function handler(

case "searchapi":
const testSearch = await fetch(
`https://www.searchapi.io/api/v1/search?engine=google&q=Coffee`,
`https://www.searchapi.io/api/v1/search?engine=google&q=dust.tt`,
{
method: "GET",
headers: {
Expand Down

0 comments on commit eefe11f

Please sign in to comment.