mirror of
https://github.com/koel/koel
synced 2025-02-16 05:18:37 +00:00
Shortenend code
This commit is contained in:
parent
074294f6a2
commit
71b8001978
1 changed files with 1 additions and 3 deletions
|
@ -78,8 +78,6 @@ class LastfmController extends Controller
|
|||
*/
|
||||
public function disconnect()
|
||||
{
|
||||
$this->auth->user()->deletePreference('lastfm_session_key');
|
||||
|
||||
return response()->json();
|
||||
return response()->json($this->auth->user()->deletePreference('lastfm_session_key'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue