chore(files): remove print
This commit is contained in:
parent
dc80778255
commit
45da231c4d
1 changed files with 0 additions and 1 deletions
|
@ -157,7 +157,6 @@ func (h *FileHandlers) Create(c *gin.Context) {
|
||||||
|
|
||||||
err = h.deps.FS().Create(tmpFilePath)
|
err = h.deps.FS().Create(tmpFilePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("\nexist,", err, tmpFilePath)
|
|
||||||
if os.IsExist(err) {
|
if os.IsExist(err) {
|
||||||
// avoid adding file size more than once
|
// avoid adding file size more than once
|
||||||
err = h.deps.Users().SetUsed(userIDInt, false, req.FileSize)
|
err = h.deps.Users().SetUsed(userIDInt, false, req.FileSize)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue