1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Run dotnet format (#1738)

This commit is contained in:
Oscar Hinton
2022-04-26 17:21:17 +02:00
committed by GitHub
parent e0efcfbe45
commit 04539af2a6
222 changed files with 723 additions and 706 deletions

View File

@@ -1,11 +1,12 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Abstractions;
using Bit.Core.Enums;
using Bit.Core.Models.Domain;
using Bit.Core.Models.Response;
using Bit.Core.Enums;
using System;
namespace Bit.Core.Services {
namespace Bit.Core.Services
{
public class FileUploadService : IFileUploadService
{
public FileUploadService(ApiService apiService)
@@ -41,7 +42,8 @@ namespace Bit.Core.Services {
default:
throw new Exception($"Unkown file upload type: {uploadData.FileUploadType}");
}
} catch
}
catch
{
await _apiService.DeleteCipherAttachmentAsync(uploadData.CipherResponse.Id, uploadData.AttachmentId);
throw;