*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 654bb38b authored by Moser, Maximilian's avatar Moser, Maximilian
Browse files

Update TISS API from v2.2 to v2.3

parent b2275ce7
Branches
Tags
1 merge request!70Update TISS API from v2.2 to v2.3
This commit is part of merge request !70. Comments created here will be created in the context of that merge request.
......@@ -17,7 +17,7 @@ from .models import Employee, OrgUnit
def _get_org_unit_dict(code: str) -> dict:
"""Fetch the data about the org unit from TISS."""
response = requests.get(
f"https://tiss.tuwien.ac.at/api/orgunit/v22/code/{code}?persons=true"
f"https://tiss.tuwien.ac.at/api/orgunit/v23/code/{code}?persons=true"
)
# NOTE: some org units don't seem to have an OID
# (e.g. "E366t1 - Institutsbibliothek"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment