Skip to content

Commit 0ce416d

Browse files
Update google_news.py
1 parent b2ab771 commit 0ce416d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/core/tools/provider/builtin/searchapi/tools/google_news.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _invoke(
9090
gl = tool_parameters.get("gl", "us")
9191
hl = tool_parameters.get("hl", "en")
9292
location = tool_parameters.get("location")
93-
time_period = tool_parameters.get("time_period","last_month")
93+
time_period = tool_parameters.get("time_period", "last_month")
9494

9595
api_key = self.runtime.credentials["searchapi_api_key"]
9696
result = SearchAPI(api_key).run(

0 commit comments

Comments
 (0)