Skip to content

Commit

Permalink
Merge pull request #1037 from NASA-IMPACT/1036-change-the-folder-from…
Browse files Browse the repository at this point in the history
…-which-urls-are-pulled-in-for-lrm-servers

get URLs from scrapers folder for LRM servers
  • Loading branch information
bishwaspraveen authored Sep 25, 2024
2 parents 44e67a8 + 9408e45 commit 3f85f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sde_collections/sinequa_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def query(self, page: int, collection_config_folder: str = "") -> Any:
}

if collection_config_folder:
if self.server_name == "lis_server":
if self.server_name in ["lis_server", "lrm_dev_server", "lrm_qa_server"]:
payload["query"]["advanced"]["collection"] = f"/scrapers/{collection_config_folder}/"
else:
payload["query"]["advanced"]["collection"] = f"/SDE/{collection_config_folder}/"
Expand Down

0 comments on commit 3f85f26

Please sign in to comment.