diff --git a/api/v1/database/mastodon/posts/mod.php b/api/v1/database/mastodon/posts/mod.php index c5d2332..1811b13 100644 --- a/api/v1/database/mastodon/posts/mod.php +++ b/api/v1/database/mastodon/posts/mod.php @@ -30,6 +30,7 @@ ORDER BY id ASC LIMIT '.$limit.' $delay = intval($delay['count']); if ($delay > $limit) $delay = ['total' => $delay, 'ticks' => intval($delay / $limit)]; + else $delay = ['total' => $delay, 'ticks' => 1 ]; $pg->close(); return apiresult([