From bd7e049981de62a1269e0a5cee82ba1a9e8c19b2 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 15 Jun 2023 21:04:17 +0800 Subject: [PATCH] Update headwear.go --- txop/headwear_tx/headwear.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txop/headwear_tx/headwear.go b/txop/headwear_tx/headwear.go index 4b203f2..83b62ff 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() } -- 2.22.0