diff --git a/internal/server/profile.go b/internal/server/profile.go index 1d4d9a9..30b14ac 100644 --- a/internal/server/profile.go +++ b/internal/server/profile.go @@ -83,8 +83,8 @@ func updateBankRequest(c *gin.Context) { c.AbortWithStatus(500) return } - err = f.Close() s, p := profile.Deserialize(f) + err = f.Close() if err != nil { c.AbortWithStatus(500) return