Erfolglose Antwort wird als unbefugt eingestuft
This commit is contained in:
@@ -22,7 +22,6 @@ namespace EnvelopeGenerator.Web.Controllers
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
[HttpGet("api/envelope/{envelopeKey}")]
|
||||
public async Task<IActionResult> Get([FromRoute] string envelopeKey)
|
||||
{
|
||||
try
|
||||
@@ -48,6 +47,7 @@ namespace EnvelopeGenerator.Web.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
[HttpPost("api/envelope/{envelopeKey}")]
|
||||
public async Task<IActionResult> Update(string envelopeKey, int index)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user