Skip to content

Commit

Permalink
🐛 Fix model listing when creating a webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Nov 7, 2021
1 parent 7b6b8d8 commit 6bde051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/CreateWebhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function handle(): int
*/
private function getModels(): array
{
$pattern = '/\/(?:Model|Search|Webhook)\.php$/';
$pattern = '/\/(?:Model|Search|Webhook|Image)\.php$/';
$glob = glob(__DIR__ . '/../Models/*.php');

if (!$glob) {
Expand Down

0 comments on commit 6bde051

Please sign in to comment.