overtrue/laravel-like

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

anubhav217 opened this issue · 1 comments

Hi, I would like to know how to get the last id entered by this function?
$like = $user->like($post);

dd($like->id);