mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Fixed LABEL_PRINTER_HOOK_JSON check was missing when running label printer WebHooks client side (fixes #1978)
This commit is contained in:
@@ -103,8 +103,9 @@
|
||||
Grocy.Webhooks = {
|
||||
@if(GROCY_FEATURE_FLAG_LABEL_PRINTER && !GROCY_LABEL_PRINTER_RUN_SERVER)
|
||||
"labelprinter" : {
|
||||
"hook" : "{{ GROCY_LABEL_PRINTER_WEBHOOK}}",
|
||||
"extra_data" : {!! json_encode(GROCY_LABEL_PRINTER_PARAMS) !!}
|
||||
"hook": "{{ GROCY_LABEL_PRINTER_WEBHOOK }}",
|
||||
"extra_data": {!! json_encode(GROCY_LABEL_PRINTER_PARAMS) !!},
|
||||
"json": {{ BoolToString(GROCY_LABEL_PRINTER_HOOK_JSON) }}
|
||||
}
|
||||
@endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user