Skip to content

Commit

Permalink
update Kirby variable in hook
Browse files Browse the repository at this point in the history
  • Loading branch information
maxackerman committed Nov 3, 2020
1 parent 4c35ba2 commit 526d3e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
]
]);

0 comments on commit 526d3e2

Please sign in to comment.