diff --git a/txop/headwear_tx/headwear.go b/txop/headwear_tx/headwear.go index 4b203f2544b5fdc4b41c6230971b7ee1c2f5f5c7..83b62ffbf7694edc0673c2010c4f0438c2ce74fe 100644 --- a/txop/headwear_tx/headwear.go +++ b/txop/headwear_tx/headwear.go @@ -90,5 +90,5 @@ func DelHeadwear(model *domain.Model, userId, headwearId mysql.ID) error { if userHeadwear, _, err = userHeadwear.MgrDel(0); err != nil { return err } - return nil + return userHeadwear.Persistent() }