mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Fixed syntax error
I'm tired
This commit is contained in:
parent
31380e7be2
commit
2832ba5bd2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue