mirror of
https://github.com/bitwarden/server
synced 2025-12-26 05:03:18 +00: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