diff --git a/InvenTree/InvenTree/api.py b/InvenTree/InvenTree/api.py index 4103fd290a..02975c3088 100644 --- a/InvenTree/InvenTree/api.py +++ b/InvenTree/InvenTree/api.py @@ -123,7 +123,7 @@ class BarcodePluginView(APIView): 'error': _('Barcode plugin returned incorrect response') } - response['plugin'] = plugin.get_name() + response['plugin'] = plugin.plugin_name() response['hash'] = plugin.hash() break