Skip to content

Commit d81fcb1

Browse files
jason-raitzawilfox
andauthored
Update tind_client/client.py
Co-authored-by: Anna Wilcox <AWilcox@Wilcox-Tech.com>
1 parent 7aeefdf commit d81fcb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tind_client/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def fetch_metadata(self, record: str) -> Record:
4545
"""
4646
status, response = tind_get(
4747
f"record/{record}/",
48-
api_key=self.api_key or os.environ.get("TIND_API_KEY", ""),
49-
api_url=self.api_url or os.environ.get("TIND_API_URL", ""),
48+
api_key=self.api_key,
49+
api_url=self.api_url,
5050
params={"of": "xm"},
5151
)
5252
if status == 404 or len(response.strip()) == 0:

0 commit comments

Comments
 (0)