Skip to content

Commit

Permalink
Merge pull request stakwork#2183 from MahtabBukhari/Update_PostTicket…
Browse files Browse the repository at this point in the history
…DataToStakwork_to_also_capture_Workspace_Schematic

Update PostTicketDataToStakwork to also capture Workspace Schematic and add to call
  • Loading branch information
humansinstitute authored Dec 13, 2024
2 parents 6bee08d + f69ac85 commit 8ee23df
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 8ee23df

Please sign in to comment.