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

Hi, I would like to know how to get the last id entered by this function? #32

Closed
Marcolino92 opened this issue Dec 22, 2020 · 1 comment

Comments

@Marcolino92
Copy link

Hi, I would like to know how to get the last id entered by this function?

$like = $request->user()->like($item);

$like->id not working

overtrue added a commit that referenced this issue Dec 23, 2020
@overtrue
Copy link
Owner

Hi @Marcolino92 plz upgrade to 4.0.0 to support this feature. https://github.com/overtrue/laravel-like/releases/tag/4.0.0

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