Skip to content

Commit

Permalink
fixed arche import
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Oct 18, 2023
1 parent e24ef81 commit 0e6d577
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openatlas/api/import_scripts/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def vocabs_requests(
def request_arche_metadata(id_: int) -> dict[str, Any]:
req = requests.get(
f"{app.config['ARCHE']['url']}/api/{id_}/metadata",
headers={'Accept': 'application/ld+json'},
headers={
'Accept': 'application/ld+json',
'X-METADATA-READ-MODE': '1_1_0_0'},
timeout=60)
return req.json()

0 comments on commit 0e6d577

Please sign in to comment.