Skip to content

Commit

Permalink
replace hard coded url with variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Babinski committed Feb 1, 2024
1 parent 80c8aa7 commit 0fe29da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmdc_automation/api/nmdcapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def run_query(self, query: dict):
"""

self.ensure_token()
url = "https://api.microbiomedata.org/queries:run"
url = f"{self.base_url}queries:run"

response = requests.post(url, json=query, headers=self.headers)
return response.json()
Expand Down

0 comments on commit 0fe29da

Please sign in to comment.