Skip to content

Commit

Permalink
change from api/util to api/2/util
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-iv committed Jul 26, 2023
1 parent d98b160 commit 2a866b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"data-module-label": "title",
"data-module-tags": "true",
"data-module-createtags": "false",
"data-module-source": "/api/util/relationships/autocomplete?incomplete=?&entity_type=" ~ field.related_entity_type,
"data-module-source": "/api/2/util/relationships/autocomplete?incomplete=?&entity_type=" ~ field.related_entity_type,
"data-module-selected": selected_json,
} %}

Expand Down
2 changes: 1 addition & 1 deletion ckanext/relationship/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def get_blueprints():
relationships = Blueprint("relationships", __name__)


@relationships.route("/api/util/relationships/autocomplete")
@relationships.route("/api/2/util/relationships/autocomplete")
def relationships_autocomplete():
incomplete = tk.request.args.get("incomplete", "")
entity_type = tk.request.args.get("entity_type", "dataset")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# http://packaging.python.org/en/latest/tutorial.html#version
version='0.1.7',
version='0.1.8',

description='''''',
long_description=long_description,
Expand Down

0 comments on commit 2a866b6

Please sign in to comment.