Skip to content

Commit

Permalink
fix find for token using where
Browse files Browse the repository at this point in the history
  • Loading branch information
moeen-basra committed Oct 20, 2017
1 parent 6a387b8 commit 7382619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TokenRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function create($attributes)
*/
public function find($id)
{
return Token::find($id);
return Token::where('id', $id)->first();
}

/**
Expand Down

0 comments on commit 7382619

Please sign in to comment.