all repos — honk @ 42dfdb9a2525ff37f765e4a67c535945754723e3

my fork of honk

use the right variable
Ted Unangst tedu@tedunangst.com
Fri, 17 Mar 2023 14:24:15 -0400
commit

42dfdb9a2525ff37f765e4a67c535945754723e3

parent

3e6026d69cbc61a937e9504f60f78befc74e6313

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M web.goweb.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 }