Care about all places where webhooks are used / don't forget recipes

This commit is contained in:
Bernd Bestel 2025-03-21 16:31:42 +01:00
parent 9fd976509c
commit fd9117e8a2
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -90,6 +90,7 @@ class RecipesApiController extends BaseApiController
$webhookData = array_merge([ $webhookData = array_merge([
'recipe' => $recipe->name, 'recipe' => $recipe->name,
'grocycode' => (string)(new Grocycode(Grocycode::RECIPE, $args['recipeId'])), 'grocycode' => (string)(new Grocycode(Grocycode::RECIPE, $args['recipeId'])),
'details' => $recipe
], GROCY_LABEL_PRINTER_PARAMS); ], GROCY_LABEL_PRINTER_PARAMS);
if (GROCY_LABEL_PRINTER_RUN_SERVER) if (GROCY_LABEL_PRINTER_RUN_SERVER)