From 59bf052b70cb0d6db2709f1f97de98f03961730d Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 19 Oct 2022 13:52:56 +0100 Subject: [PATCH] Fixing issue with metadata name not being provided for uploaded backup on publish. --- packages/server/src/sdk/app/backups/backup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/sdk/app/backups/backup.ts b/packages/server/src/sdk/app/backups/backup.ts index cc2338e274..0f2a1aa760 100644 --- a/packages/server/src/sdk/app/backups/backup.ts +++ b/packages/server/src/sdk/app/backups/backup.ts @@ -49,7 +49,7 @@ async function exportProcessor(job: Job) { const data: AppBackupQueueData = job.data const appId = data.appId, trigger = data.export!.trigger, - name = data.export!.name + name = data.export!.name || `${trigger} - backup` const tenantId = tenancy.getTenantIDFromAppID(appId) await tenancy.doInTenant(tenantId, async () => { const createdAt = new Date().toISOString()