1
0
Fork 0
mirror of synced 2024-10-02 02:07:04 +13:00

add resourceType backup

This commit is contained in:
fogelito 2024-05-27 17:17:58 +03:00
parent 9c591bd42d
commit b5061da8c3

View file

@ -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']}");