Skip to content

Commit

Permalink
Minor codegen change
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Oct 12, 2023
1 parent b843a56 commit d964620
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app_upload/stitcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ func main() {
bucketName = os.Args[5]
}

appname := "email"
appname := "http"
appversion := "1.3.0"
err := deployConfigToBackend(appfolder, appname, appversion)
if err != nil {
Expand Down
6 changes: 3 additions & 3 deletions codegen.go
Original file line number Diff line number Diff line change
Expand Up @@ -810,9 +810,9 @@ func MakePythoncode(swagger *openapi3.Swagger, name, url, method string, paramet
)

// Use lowercase when checking
if strings.Contains(strings.ToLower(functionname), "search") {
log.Printf("\n%s", data)
}
//if strings.Contains(strings.ToLower(functionname), "search") {
// log.Printf("\n%s", data)
//}

return functionname, data
}
Expand Down
5 changes: 3 additions & 2 deletions shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,9 @@ func GetUsecaseData() string {
},
{
"name": "Update indicators (FW, EDR, SIEM...)",
"priority": 50,
"type": "intel",
"priority": 50,
"type": "intel",
"last": "siem",
"items": {}
},
{
Expand Down

0 comments on commit d964620

Please sign in to comment.