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