Fixed minor schedule location issues and app build revisions

This commit is contained in:
Frikky
2024-02-28 23:09:50 +01:00
parent d65e9215ff
commit fb626a7c21
7 changed files with 104 additions and 33 deletions
+2 -2
View File
@@ -3183,8 +3183,8 @@ func setNewWorkflowApp(resp http.ResponseWriter, request *http.Request) {
workflowapp.Generated = false
workflowapp.Activated = true
if !shuffle.ArrayContains(api.Contributors, user.Id) {
api.Contributors = append(api.Contributors, user.Id)
if !shuffle.ArrayContains(workflowapp.Contributors, user.Id) {
workflowapp.Contributors = append(workflowapp.Contributors, user.Id)
}
shuffle.SetAppRevision(ctx, workflowapp)