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

bump versions and disabled send creation

This commit is contained in:
Kyle Spearrin
2020-11-12 21:43:10 -05:00
parent 040737d7ce
commit ac1defc97a
11 changed files with 11 additions and 10 deletions

View File

@ -84,6 +84,7 @@ 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);