Skip to content

Commit

Permalink
Merge pull request #28 from MonobikashDas/1.1.5
Browse files Browse the repository at this point in the history
MOSIP-20856 : changed to hardcoded url suggested by Urvil
  • Loading branch information
MonobikashDas authored Apr 12, 2022
2 parents 589b3ac + 2a896dd commit 341fb6f
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 341fb6f

Please sign in to comment.