mirror of
https://github.com/grocy/grocy.git
synced 2026-04-03 19:36:16 +02:00
Care about all places where webhooks are used / don't forget recipes
This commit is contained in:
parent
9fd976509c
commit
fd9117e8a2
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user