need to query for the sub here
Ted Unangst tedu@tedunangst.com
Thu, 02 Mar 2023 23:34:54 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
honk.go
→
honk.go
@@ -401,7 +401,7 @@ if err != nil {
fmt.Printf("user not found") return } - row := db.QueryRow("select honkerid from honkers where xid = ? and userid = ?", args[2], user.ID) + row := db.QueryRow("select honkerid from honkers where xid = ? and userid = ? and flavor in ('sub')", args[2], user.ID) var honkerid int64 err = row.Scan(&honkerid) if err != nil {