Skip to content

Commit 1cc1090

Browse files
committed
fix: cop_ghsl - search result parameters
1 parent 3ac60fd commit 1cc1090

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

eodag/plugins/search/cop_ghsl.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ def query(
565565
return SearchResult(
566566
products=products,
567567
number_matched=count,
568-
next_page_token="page",
569-
next_page_token_key=page,
568+
next_page_token_key="page",
569+
next_page_token=str(page),
570570
raise_errors=True,
571571
)
572572

@@ -595,8 +595,8 @@ def query(
595595
return SearchResult(
596596
products=products,
597597
number_matched=total_items,
598-
next_page_token="page",
599-
next_page_token_key=page,
598+
next_page_token_key="page",
599+
next_page_token=str(page),
600600
raise_errors=True,
601601
)
602602

0 commit comments

Comments
 (0)