Allow all file size for image
This commit is contained in:
parent
bdab0dc286
commit
63654bdcf9
@ -236,7 +236,7 @@ namespace ManagerService.Controllers
|
||||
{
|
||||
var stringResult = "";
|
||||
double fileSizeibMbs = (double) ((double)file.Length) / (1024*1024);
|
||||
if (fileSizeibMbs <= 4.01)
|
||||
if (fileSizeibMbs <= 4.01 || resourceType == ResourceType.Image)
|
||||
{
|
||||
using (var ms = new MemoryStream())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user