Skip to content

Commit

Permalink
update postticketdatatostakwork to also capture workspace schematic
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtabBukhari committed Dec 13, 2024
1 parent 6bee08d commit f69ac85
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions handlers/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f69ac85

Please sign in to comment.