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:
1 parent
bbcab38590
commit
9c591bd42d
1 file changed
+2
-1
@@ -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