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

"message": "Class 'App\\Http\\Controllers\\API\\Batch' not found", #63

Open
bhojkamal opened this issue May 27, 2021 · 2 comments
Open

Comments

@bhojkamal
Copy link

bhojkamal commented May 27, 2021

I got error and could not update the data.

It says - "message": "Class 'App\Http\Controllers\API\Batch' not found",

when I submit the data.

@bhojkamal
Copy link
Author

But it worked when I did batch()->update, how?

@itslit-tech
Copy link

@bhojkamal You need to write use Batch; at the the top of your class. The way it works with batch()->update is batch() is a helper function added by the package where Batch is a shorthand for the Batch Facade

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

No branches or pull requests

2 participants