Skip to content

Commit

Permalink
Update InternalRestController.java
Browse files Browse the repository at this point in the history
Signed-off-by: Manishch22 <[email protected]>
  • Loading branch information
Manishch22 authored Feb 9, 2024
1 parent 83f2d78 commit 609932c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public SimpleMessageResponse unsubscribe() {

//@PostMapping(value = "/receiveCredentialBirth", consumes = MediaType.APPLICATION_JSON_VALUE)
//@PreAuthenticateContentAndVerifyIntent(secret = "abc@123",callback = "" ,topic = "")
@PostMapping(path = "/receiveCredentialBirth", consumes = MediaType.APPLICATION_JSON_VALUE)
@PostMapping(path = "/receiveCredentialBirth", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
@PreAuthenticateContentAndVerifyIntent(secret = "${mosip.opencrvs.partner.client.sha.secret}", callback = "/opencrvs/v1/internal/receiveCredentialBirth", topic = "${mosip.opencrvs.partner.client.id}/CREDENTIAL_ISSUED")
public SimpleMessageResponse postReceiveUinOnBirth(@RequestBody WebsubRequest body) {
LOGGER.info(LoggingConstants.SESSION, LoggingConstants.ID, "postReceiveUinOnBirth", "Here is the request received - " + body);
Expand Down

0 comments on commit 609932c

Please sign in to comment.