fix some format string mismatches
This commit is contained in:
parent
37dc0b25e9
commit
c9aaab4869
|
@ -1235,7 +1235,7 @@ func collectiveaction(honk *Honk) {
|
|||
j["id"] = user.URL + "/add/" + shortxid(ont+honk.XID)
|
||||
j["actor"] = user.URL
|
||||
j["object"] = honk.XID
|
||||
j["target"] = fmt.Sprintf("https://%s/o/%s", ont[1:])
|
||||
j["target"] = fmt.Sprintf("https://%s/o/%s", serverName, ont[1:])
|
||||
rcpts := make(map[string]bool)
|
||||
for _, dub := range dubs {
|
||||
var box *Box
|
||||
|
|
2
web.go
2
web.go
|
@ -506,7 +506,7 @@ func serverinbox(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
ont := "#" + m[1]
|
||||
log.Printf("updating honker undo: %s", who, ont)
|
||||
log.Printf("updating honker undo: %s %s", who, ont)
|
||||
_, err = stmtUpdateFlavor.Exec("undub", user.ID, who, ont, "dub")
|
||||
if err != nil {
|
||||
log.Printf("error updating honker: %s", err)
|
||||
|
|
Loading…
Reference in New Issue