Skip to content
Snippets Groups Projects
Commit 687cc138 authored by Simon Künzel's avatar Simon Künzel
Browse files

Remove debug code

parent 542cb30d
Branches
Tags
No related merge requests found
Pipeline #7501 passed
Pipeline: backend

#7502

    ......@@ -91,12 +91,6 @@ def api_route_resource_internal_auth_check():
    medium_file = _check_access_medium_file(course_handle, medium_file_id)
    if url_result.path != f"{_FILE_URI_PREFIX_PATH}/{medium_file.file_path}":
    # TODO
    print("URLS")
    print(request.headers["X-Original-URI"])
    print(url_result.path)
    print(_FILE_URI_PREFIX_PATH)
    print(medium_file.file_path)
    raise ApiClientException(ERROR_BAD_REQUEST("Url does not match medium location"))
    return {}, HTTP_200_OK
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment