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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user