Revert "Fix API call for printing stock entry label (#2870)"

This reverts commit 533bef6872.
This commit is contained in:
Bernd Bestel 2026-02-03 17:47:41 +01:00 committed by GitHub
parent 533bef6872
commit aabeec6b9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@
if (Grocy.FeatureFlags.GROCY_FEATURE_FLAG_LABEL_PRINTER && $("#print-label").is(":checked"))
{
Grocy.Api.Get('stock/entry/' + result[0].id + '/printlabel', function(labelData)
Grocy.Api.Get('stock/entry/' + result[0].stock_id + '/printlabel', function(labelData)
{
if (Grocy.Webhooks.labelprinter !== undefined)
{