Browse Source

Revert "remove premium checks for internal testing"

This reverts commit 26fb6fc3b7.
pull/1149/head
Kyle Spearrin 5 years ago
parent
commit
cd2834cc15
  1. 2
      src/Core/Services/Implementations/SendService.cs

2
src/Core/Services/Implementations/SendService.cs

@ -80,7 +80,6 @@ namespace Bit.Core.Services @@ -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 @@ -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…
Cancel
Save