update post Envelope to handle without object
This commit is contained in:
@@ -44,7 +44,7 @@ public class EnvelopeController : ControllerBase
|
||||
|
||||
[Authorize(Roles = ReceiverRole.FullyAuth)]
|
||||
[HttpPost("{envelopeKey}")]
|
||||
public async Task<IActionResult> CreateOrUpdate([FromRoute] string envelopeKey, int index, [FromBody] ExpandoObject annotations, CancellationToken cancel = default)
|
||||
public async Task<IActionResult> CreateOrUpdate([FromRoute] string envelopeKey, [FromBody] ExpandoObject annotations, CancellationToken cancel = default)
|
||||
{
|
||||
// get claims
|
||||
var signature = User.GetAuthReceiverSignature();
|
||||
@@ -66,7 +66,7 @@ public class EnvelopeController : ControllerBase
|
||||
|
||||
await _mediator.Publish(notification, cancel);
|
||||
|
||||
return Ok(new object());
|
||||
return Ok();
|
||||
}
|
||||
|
||||
[Authorize(Roles = ReceiverRole.FullyAuth)]
|
||||
|
||||
Reference in New Issue
Block a user