mirror of
https://github.com/bitwarden/server.git
synced 2025-02-17 02:01:53 +01:00
Revert "remove premium checks for internal testing"
This reverts commit 26fb6fc3b7
.
This commit is contained in:
parent
ad6abaccc8
commit
cd2834cc15
@ -80,7 +80,6 @@ namespace Bit.Core.Services
|
||||
throw new BadRequestException("No file data.");
|
||||
}
|
||||
|
||||
/*
|
||||
var storageBytesRemaining = 0L;
|
||||
if (send.UserId.HasValue)
|
||||
{
|
||||
@ -117,7 +116,6 @@ 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…
Reference in New Issue
Block a user