chore(files): remove print

This commit is contained in:
hexxa 2021-09-19 10:44:48 +08:00 committed by Hexxa
parent dc80778255
commit 45da231c4d

View file

@ -157,7 +157,6 @@ func (h *FileHandlers) Create(c *gin.Context) {
err = h.deps.FS().Create(tmpFilePath)
if err != nil {
fmt.Println("\nexist,", err, tmpFilePath)
if os.IsExist(err) {
// avoid adding file size more than once
err = h.deps.Users().SetUsed(userIDInt, false, req.FileSize)