1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00

re-enable send (#1004)

This commit is contained in:
Chad Scharf
2020-11-18 12:43:58 -05:00
committed by GitHub
parent 5e8862853f
commit faf909479e

View File

@ -84,7 +84,6 @@ namespace Bit.Api.Controllers
[HttpPost("")] [HttpPost("")]
public async Task<SendResponseModel> Post([FromBody] SendRequestModel model) public async Task<SendResponseModel> Post([FromBody] SendRequestModel model)
{ {
throw new NotFoundException();
var userId = _userService.GetProperUserId(User).Value; var userId = _userService.GetProperUserId(User).Value;
var send = model.ToSend(userId, _sendService); var send = model.ToSend(userId, _sendService);
await _sendService.SaveSendAsync(send); await _sendService.SaveSendAsync(send);