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:
parent
c466acf081
commit
26fb6fc3b7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user