Fixed logging issues

This commit is contained in:
frikky
2020-06-02 05:22:10 +02:00
parent 12ffc18338
commit 380d5b31d6
3 changed files with 2 additions and 5 deletions
-2
View File
@@ -929,9 +929,7 @@ func handleGet(swagger *openapi3.Swagger, api WorkflowApp, extraParameters []Wor
if firstQuery {
baseUrl = fmt.Sprintf("%s?%s={%s}", baseUrl, param.Value.Name, param.Value.Name)
} else {
log.Printf("NOT FIRST QUERY!: %s", baseUrl)
baseUrl = fmt.Sprintf("%s&%s={%s}", baseUrl, param.Value.Name, param.Value.Name)
log.Printf("AFTER: %s", baseUrl)
}
firstQuery = false
}
-1
View File
@@ -1378,7 +1378,6 @@ func saveWorkflow(resp http.ResponseWriter, request *http.Request) {
// Check tosee if the appaction is valid
curappaction := WorkflowAppAction{}
for _, curAction := range curapp.Actions {
log.Printf("Same? %s - %s", action.Name, curAction.Name)
if action.Name == curAction.Name {
curappaction = curAction
break