Browse Source

Merge remote-tracking branch 'origin/dev' into dev

Vanessa 7 months ago
parent
commit
ee1043514b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/api/asset.go

+ 1 - 1
kernel/api/asset.go

@@ -86,7 +86,7 @@ func statAsset(c *gin.Context) {
 
 	ret.Data = map[string]interface{}{
 		"size":     info.Size(),
-		"hSize":    humanize.BytesCustomCeil(uint64(info.Size()), 2),
+		"hSize":    humanize.IBytesCustomCeil(uint64(info.Size()), 2),
 		"created":  created,
 		"hCreated": hCreated,
 		"updated":  updated,