diff --git a/src/Api/Controllers/SendsController.cs b/src/Api/Controllers/SendsController.cs index c737500e35..5a188bffd8 100644 --- a/src/Api/Controllers/SendsController.cs +++ b/src/Api/Controllers/SendsController.cs @@ -84,7 +84,6 @@ namespace Bit.Api.Controllers [HttpPost("")] public async Task<SendResponseModel> Post([FromBody] SendRequestModel model) { - throw new NotFoundException(); var userId = _userService.GetProperUserId(User).Value; var send = model.ToSend(userId, _sendService); await _sendService.SaveSendAsync(send); @@ -96,7 +95,6 @@ namespace Bit.Api.Controllers [DisableFormValueModelBinding] public async Task<SendResponseModel> PostFile() { - throw new NotFoundException(); if (!Request?.ContentType.Contains("multipart/") ?? true) { throw new BadRequestException("Invalid content.");