@@ -48,7 +48,7 @@ class MysqlAdapter
public static function logout(int $uid)
{
$token = request()->header('token');
- UserToken::where('$token', $token)->delete();
+ UserToken::where('token', $token)->delete();
Cache::delete('user_info_'.$uid);
}