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

This reverts commit f105aaa567e55b629659a84748f91af83da2cc94.
This commit is contained in:
Developer 02 2024-07-05 10:04:49 +02:00
parent f105aaa567
commit 836380048a

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());
}
}