From 5ea115ae83ac2839a735cf34dff89c70e189d406 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 10 May 2022 01:18:36 +1000 Subject: [PATCH] hard code url --- InvenTree/templates/js/translated/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/translated/plugin.js b/InvenTree/templates/js/translated/plugin.js index cac44222be..87415b74dc 100644 --- a/InvenTree/templates/js/translated/plugin.js +++ b/InvenTree/templates/js/translated/plugin.js @@ -50,7 +50,7 @@ function locateItemOrLocation(options={}) { // Request the list of available 'locate' plugins inventreeGet( - '{% url "api-plugin-list" %}', + `/api/plugin/`, { mixin: 'locate', },