use the right variable
Ted Unangst tedu@tedunangst.com
Fri, 17 Mar 2023 14:24:15 -0400
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
web.go
→
web.go
@@ -1954,7 +1954,8 @@ if peep == "peep" {
flavor = "peep" } - id, err := savehonker(user, url, name, flavor, combos, mj) + var err error + honkerid, err = savehonker(user, url, name, flavor, combos, mj) if err != nil { http.Error(w, "had some trouble with that: "+err.Error(), http.StatusInternalServerError) return nil@@ -1962,7 +1963,7 @@ }
if flavor == "presub" { followyou(user, honkerid, false) } - h.ID = id + h.ID = honkerid return h }