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

Send file model changes (#1293)

* Remove Url from SendFile.
Add file length hit to SendRequest

* Populate SendRequest file length
This commit is contained in:
Matt Gibson
2021-03-02 10:09:26 -06:00
committed by GitHub
parent 1098686d51
commit 2c13cef17c
8 changed files with 14 additions and 17 deletions

View File

@@ -195,7 +195,7 @@ namespace Bit.Core.Services
public async Task<string> SaveWithServerAsync(Send send, byte[] encryptedFileData)
{
var request = new SendRequest(send);
var request = new SendRequest(send, encryptedFileData?.LongLength);
SendResponse response;
if (send.Id == null)
{