diff --git a/cla-backend-go/v2/sign/service.go b/cla-backend-go/v2/sign/service.go index cab9ba3a3..b14b84767 100644 --- a/cla-backend-go/v2/sign/service.go +++ b/cla-backend-go/v2/sign/service.go @@ -2343,8 +2343,8 @@ func (s *service) RequestIndividualSignatureGerrit(ctx context.Context, input *m return nil, errors.New("no gerrits found for project") } - returnURL := gerrits.List[0].GerritURL - log.WithFields(f).Debugf("returnURL: %s", returnURL) + returnURL := input.ReturnURL + log.WithFields(f).Debugf("returnURL: %s", input.ReturnURL) if latestSignature != nil { log.WithFields(f).Debugf("comparing latest signature document version: %s to latest document version: %s", latestSignature.SignatureDocumentMajorVersion, latestDocument.DocumentMajorVersion)