mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
add resourceType backup
This commit is contained in:
parent
9c591bd42d
commit
b5061da8c3
1 changed files with 2 additions and 1 deletions
|
|
@ -110,7 +110,8 @@ abstract class ScheduleBase extends Action
|
|||
} catch (\Throwable $th) {
|
||||
$collectionId = match ($document->getAttribute('resourceType')) {
|
||||
'function' => 'functions',
|
||||
'message' => 'messages'
|
||||
'message' => 'messages',
|
||||
'backup' => 'backupsPolicy'
|
||||
};
|
||||
|
||||
Console::error("Failed to load schedule for project {$document['projectId']} {$collectionId} {$document['resourceId']}");
|
||||
|
|
|
|||
Loading…
Reference in a new issue