diff --git a/src/modules/rdb/http/router_user.go b/src/modules/rdb/http/router_user.go index 0925a5799d9f571158737f8870611fd3541f8b38..e179592beefef17ac1c97de212eb57b317813039 100644 --- a/src/modules/rdb/http/router_user.go +++ b/src/modules/rdb/http/router_user.go @@ -145,12 +145,12 @@ func userProfilePut(c *gin.Context) { } if f.Typ != target.Typ { - arr = append(arr, fmt.Sprintf("typ: %s -> %s", target.Typ, f.Typ)) + arr = append(arr, fmt.Sprintf("typ: %d -> %d", target.Typ, f.Typ)) target.Typ = f.Typ } if f.Status != target.Status { - arr = append(arr, fmt.Sprintf("typ: %s -> %s", target.Status, f.Status)) + arr = append(arr, fmt.Sprintf("typ: %d -> %d", target.Status, f.Status)) target.Status = f.Status }