1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-10 23:58:13 -05:00

remove premium checks for internal testing

This commit is contained in:
Kyle Spearrin 2020-11-05 12:43:08 -05:00
parent c466acf081
commit 26fb6fc3b7

View File

@ -63,6 +63,7 @@ namespace Bit.Core.Services
throw new BadRequestException("No file data.");
}
/*
var storageBytesRemaining = 0L;
if (send.UserId.HasValue)
{
@ -99,6 +100,7 @@ namespace Bit.Core.Services
{
throw new BadRequestException("Not enough storage available.");
}
*/
var fileId = Utilities.CoreHelpers.SecureRandomString(32, upper: false, special: false);
await _sendFileStorageService.UploadNewFileAsync(stream, send, fileId);