mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
wrap with go
This commit is contained in:
1 parent
9569eec424
commit
93c801caa6
1 file changed
+5
-3
@@ -289,9 +289,11 @@ abstract class ScheduleBase extends Action
|
||||
}
|
||||
|
||||
if (!empty($scheduleIdsToDelete)) {
|
||||
$dbForPlatform->deleteDocuments('schedules', [
|
||||
Query::equal('$id', $scheduleIdsToDelete),
|
||||
]);
|
||||
go(function () use ($dbForPlatform, $scheduleIdsToDelete) {
|
||||
$dbForPlatform->deleteDocuments('schedules', [
|
||||
Query::equal('$id', $scheduleIdsToDelete),
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
||||
$lastSyncUpdate = $time;
|
||||
|
||||
Reference in new issue
Block a user