Skip to content

Commit

Permalink
MOSIP-20856 : changed to hardcoded url suggested by Urvil
Browse files Browse the repository at this point in the history
  • Loading branch information
Monobikash Das committed Apr 12, 2022
1 parent 589b3ac commit 2a896dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class CredentialShareController {
* @throws Exception
*/
@PostMapping(path = "/callback/notify", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
@PreAuthenticateContentAndVerifyIntent(secret = "${mosip.event.secret}", callback = "${mosip.event.callback.callBackUrl}", topic = "${mosip.event.topic}")
@PreAuthenticateContentAndVerifyIntent(secret = "${mosip.event.secret}", callback = "/v1/mimoto/credentialshare/callback/notify", topic = "${mosip.event.topic}")
public ResponseEntity<GenericResponseDTO> handleSubscribeEvent(@RequestBody EventModel eventModel)
throws Exception {
logger.info("Received websub event:: transaction id = " + eventModel.getEvent().getTransactionId());
Expand Down

0 comments on commit 2a896dd

Please sign in to comment.