diff --git a/src/index.php b/src/index.php index 95977d5..c6ca947 100755 --- a/src/index.php +++ b/src/index.php @@ -65,9 +65,7 @@ if (!isset($_GET["secret"]) || $_GET["secret"] != $SECRET_KEY) { respondAndDie($e->getMessage()); } handleTemplate($activity); - if ($activity->title == "Sleeping") { - $activity->streak = getStreakEntries("sleep"); - } + $activity->streak = getStreakEntries("sleep"); respondWithJson($activity->getPublicData()); }