move update log

This commit is contained in:
Ted Unangst 2019-09-16 18:05:09 -04:00
parent d90cbc3db1
commit ce764c468d
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,6 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
origin = originate(xid) origin = originate(xid)
what = "bonk" what = "bonk"
case "Update": case "Update":
log.Printf("should be updating")
isUpdate = true isUpdate = true
fallthrough fallthrough
case "Create": case "Create":
@ -701,6 +700,7 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
} }
if isUpdate { if isUpdate {
log.Printf("something has changed! %s", xonk.XID)
prev := getxonk(user.ID, xonk.XID) prev := getxonk(user.ID, xonk.XID)
if prev == nil { if prev == nil {
log.Printf("didn't find old version for update: %s", xonk.XID) log.Printf("didn't find old version for update: %s", xonk.XID)