From 64a1fff1c6ffdf585d076da6c380968aab8b2c7a Mon Sep 17 00:00:00 2001 From: Thomas Lielacher Date: Sat, 28 May 2022 09:09:01 +0200 Subject: [PATCH] NEXTWORKSTEP and FINALWORKSTEP suggestions are now sent to the recipient as specified in the DTO --- proxy_app/httpd/handler/createSuggestion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy_app/httpd/handler/createSuggestion.go b/proxy_app/httpd/handler/createSuggestion.go index 61b26ab..76279df 100644 --- a/proxy_app/httpd/handler/createSuggestion.go +++ b/proxy_app/httpd/handler/createSuggestion.go @@ -262,7 +262,7 @@ func createNextWorkstepOrFinalSuggestionRequestFromLatestTrustmeshEntry( workstepType string) *types.NewSuggestionRequest { return &types.NewSuggestionRequest{ WorkgroupId: uuid.FromStringOrNil(req.WorkgroupId), - Recipient: latestFeedbackTrustmeshEntry.SenderOrgId.String(), + Recipient: req.Recipient, WorkstepType: workstepType, BusinessObjectType: req.BusinessObjectType, BusinessObjectId: req.BusinessObjectId,