Endpunkt "EncodeEnvelopeReceiverId" zum Test-Controller hinzugefügt.

This commit is contained in:
Developer 02 2024-06-26 10:47:04 +02:00
parent f276735b5c
commit b615446274

View File

@ -45,5 +45,8 @@ namespace EnvelopeGenerator.Web.Controllers.Test
var decoded = envelopeReceiverId.DecodeEnvelopeReceiverId();
return Ok(new { uuid = decoded.EnvelopeUuid, signature = decoded.ReceiverSignature });
}
[HttpGet("encode")]
public IActionResult EncodeEnvelopeReceiverId(string uuid, string signature) => Ok((uuid, signature).EncodeEnvelopeReceiverId());
}
}