mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
add resourceType backup
This commit is contained in:
parent
bbcab38590
commit
9c591bd42d
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue