From f69ac85e36c5732977dbd43429c6d204a25ba34b Mon Sep 17 00:00:00 2001 From: MahtabBukhari Date: Fri, 13 Dec 2024 13:08:40 +0500 Subject: [PATCH] update postticketdatatostakwork to also capture workspace schematic --- handlers/ticket.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/handlers/ticket.go b/handlers/ticket.go index 4de66e88e..ebceca2bd 100644 --- a/handlers/ticket.go +++ b/handlers/ticket.go @@ -341,14 +341,6 @@ func (th *ticketHandler) PostTicketDataToStakwork(w http.ResponseWriter, r *http } schematicURL = workspace.SchematicUrl - if schematicURL == "" { - w.WriteHeader(http.StatusNotFound) - json.NewEncoder(w).Encode(TicketResponse{ - Success: false, - Message: "Schematic URL not found in the workspace", - }) - return - } codeGraph, err := th.db.GetCodeGraphByUUID(feature.WorkspaceUuid) if err == nil {