Closed renege closed 10 years ago
The following function of your package does not work:
public function getLatestAccessTokenFromDB() { $latest = \DB::table(\Config::get('laravel-youtube::table_name')); if(\Config::get('laravel-youtube::auth') == true){ $latest->where('user_id', \Auth::user()->id); } $latest->orderBy('created_at', 'desc') ->first(); // if ($latest) // { // return $latest->access_token; // } return null; }
It only works when I disable above.
The following function of your package does not work:
It only works when I disable above.