#204: Added app creator file upload possibility

This commit is contained in:
frikky
2021-01-21 14:50:15 +01:00
parent d817273e7d
commit 2947e1d57e
4 changed files with 103 additions and 18 deletions
+2
View File
@@ -2718,6 +2718,8 @@ func saveWorkflow(resp http.ResponseWriter, request *http.Request) {
Errors: workflow.Errors,
}
cacheKey := fmt.Sprintf("workflowapps-sorted")
requestCache.Delete(cacheKey)
log.Printf("Saved new version of workflow %s (%s) for org %s", workflow.Name, fileId, workflow.OrgId)
resp.WriteHeader(200)
newBody, err := json.Marshal(returndata)