From 6aee13a5001c8a8d40cce391da0796563faaf39f Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Sat, 28 Oct 2017 16:50:15 -0700 Subject: [PATCH] Minor fixes --- app/Http/Controllers/Api/V1/TracksController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Api/V1/TracksController.php b/app/Http/Controllers/Api/V1/TracksController.php index 88fd028f..5a91658d 100644 --- a/app/Http/Controllers/Api/V1/TracksController.php +++ b/app/Http/Controllers/Api/V1/TracksController.php @@ -94,7 +94,7 @@ class TracksController extends ApiControllerBase return Response::json(['message' => 'Track not found.'], 404); } - return Response::json(static::trackToJson($track, false, true), 200); + return Response::json(self::trackToJson($track, false, true), 200); } /** @@ -116,7 +116,7 @@ class TracksController extends ApiControllerBase return Response::json(['message' => 'Track not found.'], 403); } - return Response::json(static::trackToJson($track, true, false), 200); + return Response::json(self::trackToJson($track, true, false), 200); } /** @@ -172,7 +172,7 @@ class TracksController extends ApiControllerBase ], // As of 2017-10-28, this should be expected to produce - // "direct_upload", "mlpma", or "eqbeats" for all tracks. + // "direct_upload", "mlpma", "ponify", or "eqbeats" for all tracks. 'source' => $track->source ];