mirror of
https://github.com/bitwarden/server.git
synced 2025-04-17 19:18:16 -05:00
Revert "remove premium checks for internal testing"
This reverts commit 26fb6fc3b787022f458d5e1fa03dab0fdce26a18.
This commit is contained in:
parent
ad6abaccc8
commit
cd2834cc15
@ -80,7 +80,6 @@ namespace Bit.Core.Services
|
|||||||
throw new BadRequestException("No file data.");
|
throw new BadRequestException("No file data.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
var storageBytesRemaining = 0L;
|
var storageBytesRemaining = 0L;
|
||||||
if (send.UserId.HasValue)
|
if (send.UserId.HasValue)
|
||||||
{
|
{
|
||||||
@ -117,7 +116,6 @@ namespace Bit.Core.Services
|
|||||||
{
|
{
|
||||||
throw new BadRequestException("Not enough storage available.");
|
throw new BadRequestException("Not enough storage available.");
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
var fileId = Utilities.CoreHelpers.SecureRandomString(32, upper: false, special: false);
|
var fileId = Utilities.CoreHelpers.SecureRandomString(32, upper: false, special: false);
|
||||||
await _sendFileStorageService.UploadNewFileAsync(stream, send, fileId);
|
await _sendFileStorageService.UploadNewFileAsync(stream, send, fileId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user