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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user