mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Remove unnecessary json_encode in oauthcontrollers (#391)
This commit is contained in:
@@ -37,7 +37,7 @@ class OAuthController extends Controller
|
||||
$oauth = $request->user()->oauth;
|
||||
unset($oauth[$request->get('driver')]);
|
||||
|
||||
$this->updateService->handle($request->user(), ['oauth' => json_encode($oauth)]);
|
||||
$this->updateService->handle($request->user(), ['oauth' => $oauth]);
|
||||
|
||||
return new Response('', Response::HTTP_NO_CONTENT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user