Fix broken URL (#6497)

This commit is contained in:
Oliver 2024-02-16 11:01:08 +11:00 committed by GitHub
parent 04261dbcac
commit d9b769d27b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -226,7 +226,7 @@ function createSupplierPart(options={}) {
var header = '';
if (options.part) {
var part_model = {};
inventreeGet(`{% url "api-part-list" %}${options.part}/.*`, {}, {
inventreeGet(`{% url "api-part-list" %}${options.part}/`, {}, {
async: false,
success: function(response) {
part_model = response;