From 526d3e29b5256f9b6bd5be2d45d0883777a79c98 Mon Sep 17 00:00:00 2001 From: Max Ackerman Date: Tue, 3 Nov 2020 17:31:31 -0500 Subject: [PATCH] update Kirby variable in hook --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index ed28147..9922886 100644 --- a/index.php +++ b/index.php @@ -9,8 +9,8 @@ 'token' => null ], 'hooks' => [ - 'file.update:after' => function ($file) { - \Violetoffice\Vimeoassets\Vimeo::checkForLinks($file); + 'file.update:after' => function ($newFile) { + \Violetoffice\Vimeoassets\Vimeo::checkForLinks($newFile); } ] ]); \ No newline at end of file