Skip to content

Commit 80e854e

Browse files
Fix the issue?
Signed-off-by: Lukasz Gryglicki <lgryglicki@cncf.io> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent db78625 commit 80e854e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cla-backend-legacy/internal/api/handlers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9465,7 +9465,8 @@ func (h *Handlers) GetReturnUrlV2(w http.ResponseWriter, r *http.Request) {
94659465
if returnURL := getAttrString(sig, "signature_return_url"); returnURL != "" {
94669466
projectID := getAttrString(sig, "signature_project_id")
94679467
refType := strings.ToLower(strings.TrimSpace(getAttrString(sig, "signature_reference_type")))
9468-
if parity.EnableReturnURLCompanyManagerWait && projectID != "" && refType == "company" && h.projects != nil && h.companies != nil && h.userService != nil && h.projectCLAGroups != nil {
9468+
// if parity.EnableReturnURLCompanyManagerWait && projectID != "" && refType == "company" && h.projects != nil && h.companies != nil && h.userService != nil && h.projectCLAGroups != nil {
9469+
if projectID != "" && refType == "company" && h.projects != nil && h.companies != nil && h.userService != nil && h.projectCLAGroups != nil {
94699470
proj, pFound, pErr := h.projects.GetByID(ctx, projectID)
94709471
if pErr == nil && pFound {
94719472
version := strings.ToLower(strings.TrimSpace(getAttrString(proj, "version")))

0 commit comments

Comments
 (0)