Skip to content

Commit

Permalink
fixed licence
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Sep 26, 2023
1 parent 163bfa1 commit 3013f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openatlas/api/endpoints/iiif.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
from flask import request, jsonify, Response
from flask_restful import Resource

from openatlas.api.resources.model_mapper import get_entity_by_id
from openatlas.api.resources.util import get_license_name
from openatlas.models.entity import Entity
from openatlas import app


def getManifest(id_):
entity = Entity.get_by_id(id_)
entity = get_entity_by_id(id_)
url_root = app.config['IIIF_URL'] or f"{request.url_root}iiif/"
# get metadata from the image api
req = requests.get(
Expand Down

0 comments on commit 3013f97

Please sign in to comment.