mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups
# Conflicts: # src/Appwrite/Platform/Tasks/ScheduleBase.php
This commit is contained in:
commit
4d24c08220
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ abstract class ScheduleBase extends Action
|
|||
$total = $total + $sum;
|
||||
|
||||
foreach ($results as $document) {
|
||||
$localDocument = $this->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