mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-26 14:58:00 +01:00
Shift Input to Request facade
Laravel 5.2 no longer registers the `Input` facade by default. While still available in Laravel 5, the `Input` facade is removed in Laravel 6.
This commit is contained in:
parent
840d4ce093
commit
0c9447a817
1 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ use App\Models\User;
|
|||
use Auth;
|
||||
use Carbon\Carbon;
|
||||
use DB;
|
||||
use Illuminate\Support\Facades\Input;
|
||||
|
||||
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
|
||||
use League\OAuth2\Client\Token\AccessToken;
|
||||
use Log;
|
||||
|
@ -132,8 +132,8 @@ class AuthController extends Controller
|
|||
*/
|
||||
public function postPoniverseAccountSync()
|
||||
{
|
||||
$poniverseId = Input::get('id');
|
||||
$updatedAttribute = Input::get('attribute');
|
||||
$poniverseId = Request::get('id');
|
||||
$updatedAttribute = Request::get('attribute');
|
||||
|
||||
// Only email address updates are supported at this time.
|
||||
if ('email' !== $updatedAttribute) {
|
||||
|
|
Loading…
Reference in a new issue