Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear models array in webhook server configuration to prevent throws #38

Closed

Conversation

a21ns1g4ts
Copy link
Contributor

…in console runs

'models' => [
\App\Models\User::class,
],
'models' => [],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can still have it, but as a comment to describe the expected value of the array since this will be a guide to the developer who wants to add their model in webhooks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I just had an issue running package:discover in my package. I'll wrap this up now. Thank you.

@MarJose123 MarJose123 marked this pull request as draft February 7, 2025 08:51
@a21ns1g4ts a21ns1g4ts closed this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants