diff --git a/src/Module/Api/Mastodon/Markers.php b/src/Module/Api/Mastodon/Markers.php index 4b2a4f46c..0121acf24 100644 --- a/src/Module/Api/Mastodon/Markers.php +++ b/src/Module/Api/Mastodon/Markers.php @@ -61,7 +61,7 @@ class Markers extends BaseApi $fields = ['last_read_id' => $last_read_id, 'version' => $version, 'updated_at' => DateTimeFormat::utcNow()]; DBA::update('application-marker', $fields, $condition, true); - System::jsonExit($this->fethTimelines($application['id'], $uid)); + System::jsonExit($this->fetchTimelines($application['id'], $uid)); } /** @@ -73,10 +73,10 @@ class Markers extends BaseApi $uid = self::getCurrentUserID(); $application = self::getCurrentApplication(); - System::jsonExit($this->fethTimelines($application['id'], $uid)); + System::jsonExit($this->fetchTimelines($application['id'], $uid)); } - private function fethTimelines(int $application_id, int $uid) + private function fetchTimelines(int $application_id, int $uid) { $values = []; $markers = DBA::select('application-marker', [], ['application-id' => $application_id, 'uid' => $uid]);