mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
add resourceType backup
This commit is contained in:
@@ -60,7 +60,8 @@ abstract class ScheduleBase extends Action
|
||||
|
||||
$collectionId = match ($schedule->getAttribute('resourceType')) {
|
||||
'function' => 'functions',
|
||||
'message' => 'messages'
|
||||
'message' => 'messages',
|
||||
'backup' => 'backupsPolicy'
|
||||
};
|
||||
|
||||
$resource = $getProjectDB($project)->getDocument(
|
||||
|
||||
Reference in New Issue
Block a user