Update mock-server to 8.0.1

This commit is contained in:
Fedor Indutny 2024-10-10 10:29:33 -07:00 committed by GitHub
parent ccf1c398f5
commit 8e6c3ee568
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 12 additions and 23 deletions

View file

@ -95,9 +95,7 @@ export async function encryptAndUploadAttachment({
uploadForm = await server.getAttachmentUploadForm();
break;
case 'backup':
uploadForm = await server.getBackupMediaUploadForm(
await backupsService.credentials.getHeadersForToday()
);
uploadForm = await backupsService.api.getMediaUploadForm();
break;
default:
throw missingCaseError(uploadType);