Skip to content

Commit

Permalink
Merge pull request #6 from Manishch22/develop
Browse files Browse the repository at this point in the history
Update InternalRestController.java
  • Loading branch information
pramod-technoforte authored Feb 9, 2024
2 parents 9a094c7 + 609932c commit f84a277
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 f84a277

Please sign in to comment.