Skip to content

Commit 287f95b

Browse files
committed
Minor map fix
1 parent 885f7fc commit 287f95b

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

shared.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14566,16 +14566,12 @@ func GetWorkflowAppConfig(resp http.ResponseWriter, request *http.Request) {
1456614566
unescaped, err := url.QueryUnescape(app.Name)
1456714567
if err == nil {
1456814568
encodedAppName := fmt.Sprintf("workflowapp_cache_%s", unescaped)
14569-
SetCache(context.Background(), encodedAppName, []byte(fileId), 86400)
14569+
14570+
SetCache(context.Background(), encodedAppName, []byte(fmt.Sprintf(`{"success": true, "id": "%s"}`, app.ID)), 86400)
1457014571
}
14571-
//appIdCache, err := shuffle.GetCache(ctx, encodedAppName)
1457214572
}
1457314573

14574-
//log.Printf("[INFO] Successfully got app %s", fileId)
14575-
1457614574
app.ReferenceUrl = ""
14577-
14578-
//app.Activate = true
1457914575
data, err := json.Marshal(app)
1458014576
if err != nil {
1458114577
resp.WriteHeader(422)

0 commit comments

Comments
 (0)