diff --git a/src/TokenRepository.php b/src/TokenRepository.php index b07005725..26e624244 100644 --- a/src/TokenRepository.php +++ b/src/TokenRepository.php @@ -56,7 +56,7 @@ public function revokeAccessToken($id) */ public function isAccessTokenRevoked($id) { - return Token::where('id', $id)->where('revoked', 1)->exists(); + return Token::where('id', $id)->where('revoked', true)->exists(); } /**