mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
fix: typo in scheduler base
This commit is contained in:
parent
9f7bf5a9f7
commit
5ffca0f6fa
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ abstract class ScheduleBase extends Action
|
|||
$total = $total + $sum;
|
||||
|
||||
foreach ($results as $document) {
|
||||
$localDocument = $schedules[$document['resourceId']] ?? null;
|
||||
$localDocument = $this->schedules[$document->getInternalId()] ?? null;
|
||||
|
||||
// Check if resource has been updated since last sync
|
||||
$org = $localDocument !== null ? \strtotime($localDocument['resourceUpdatedAt']) : null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue