chore: Upgrade von Core.Abstractions 2.2.1 und Core.Client auf 2.0.2

This commit is contained in:
Developer 02
2024-11-25 14:40:52 +01:00
parent da06daf776
commit f2ee509727
7 changed files with 11 additions and 11 deletions

View File

@@ -17,8 +17,8 @@ namespace EnvelopeGenerator.Web.Controllers.Test
[HttpPost]
public async Task<IActionResult> SendAsync(string recipient, string message)
{
await _service.SendSmsAsync(recipient: recipient, message: message);
return Ok();
var res = await _service.SendSmsAsync(recipient: recipient, message: message);
return res is null? StatusCode(StatusCodes.Status500InternalServerError) : Ok(res);
}
}
}