@@ -22,8 +22,8 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function __construct() |
| 24 | 24 | { |
| 25 | - $this->lastfm = new LastFm(new Browser); |
|
| 26 | - $this->lastfm->setApiKey(env('LASTFM_API_KEY')); |
|
| 25 | + $this->lastfm = new LastFm(new Browser); |
|
| 26 | + $this->lastfm->setApiKey(env('LASTFM_API_KEY')); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |
@@ -39,8 +39,8 @@ discard block |
||
| 39 | 39 | $tracks = array_slice($this->getTopTracks(), 0, 10); |
| 40 | 40 | |
| 41 | 41 | return view('api.lastfm')->withDetails($details) |
| 42 | - ->withAlbums($albums) |
|
| 43 | - ->withTracks($tracks); |
|
| 42 | + ->withAlbums($albums) |
|
| 43 | + ->withTracks($tracks); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |