need to query for the sub here
This commit is contained in:
parent
e965f7090f
commit
ba9d745efa
2
honk.go
2
honk.go
|
@ -401,7 +401,7 @@ func main() {
|
|||
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 {
|
||||
|
|
Loading…
Reference in New Issue