Fix the spelling
This commit is contained in:
parent
19772f29f3
commit
56e88d2c4c
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user