From 56e88d2c4c59a8a44ae8cf31f2c18fac325dc740 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 6 Jun 2022 21:52:47 +0000 Subject: [PATCH] Fix the spelling --- src/Module/Api/Mastodon/Markers.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Module/Api/Mastodon/Markers.php b/src/Module/Api/Mastodon/Markers.php index 4b2a4f46ce..0121acf246 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]); -- 2.39.5