Fixed syntax error

I'm tired
This commit is contained in:
Josef Citrine 2016-05-04 01:12:12 +01:00
parent 31380e7be2
commit 2832ba5bd2

View file

@ -146,7 +146,7 @@ class StatsController extends ApiControllerBase
$now = Carbon::now();
$trackDate = $track->published_at;
if ($trackDate->diffInDays($now) >= 1) {
if ($trackDate->diffInDays($now) >= 1)
return $this->getTrackStatsDaily($id);
return $this->getTrackStatsHourly($id);