ai cooking
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #167 from paulgmiller/pmiller/bringrobotback

preserve old single recipes mostly for robot uptime

authored by

Paul Miller and committed by
GitHub
0edc5619 48aa35bc

+6 -2
+6 -2
internal/recipes/server.go
··· 89 89 p, err := loadParamsFromHash(ctx, recipe.OriginHash, s.cache) 90 90 if err != nil { 91 91 slog.ErrorContext(ctx, "failed to load params for hash", "hash", recipe.OriginHash, "error", err) 92 - http.Error(w, "recipe not found or expired", http.StatusNotFound) 93 - return 92 + //http.Error(w, "recipe not found or expired", http.StatusNotFound) 93 + //return 94 + p = DefaultParams(&locations.Location{ 95 + ID: "", 96 + Name: "Unknown Location", 97 + }, time.Now()) 94 98 } 95 99 96 100 // TODO this p is mising converastion id. See todo in generate recipes we can pregenerate it or update it after generation.