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) {
|
} catch (\Throwable $th) {
|
||||||
$collectionId = match ($document->getAttribute('resourceType')) {
|
$collectionId = match ($document->getAttribute('resourceType')) {
|
||||||
'function' => 'functions',
|
'function' => 'functions',
|
||||||
'message' => 'messages'
|
'message' => 'messages',
|
||||||
|
'backup' => 'backupsPolicy'
|
||||||
};
|
};
|
||||||
|
|
||||||
Console::error("Failed to load schedule for project {$document['projectId']} {$collectionId} {$document['resourceId']}");
|
Console::error("Failed to load schedule for project {$document['projectId']} {$collectionId} {$document['resourceId']}");
|
||||||
|
|
Loading…
Reference in a new issue