openBackhaul / RegistryOffice

Apache License 2.0
2 stars 8 forks source link

Request body formulation for /v1/regard-application forwarding should be modified if approvalstatus is "approved" #404

Closed vanithavalluripalli9 closed 1 year ago

vanithavalluripalli9 commented 1 year ago

Problem Description: When service /v1/regard-updated-approval-status is executed with approval status as "approved" , /v1/regard-application forwarding will be sent to all the applications that subscribed for "ApprovalNotification". The request body for the forwarding is formulated wrongly in the server code.

Solution : In /server/service/individualServices/PrepareForwardingAutomation.js file under function updateApprovalStatusApproved the requestbodyformulation of approvalNotificationRequestBody should be corrected.