chore: migrate to gitea
Some checks failed
golangci-lint / lint (push) Failing after 21s
Test / test (push) Failing after 2m17s

This commit is contained in:
2026-01-27 01:40:31 +01:00
parent a9bca767a9
commit 1a27ed5274
3163 changed files with 1216358 additions and 1529 deletions

View File

@@ -76,13 +76,15 @@ func (c *Context) CreateAccountOfUser(gc *gin.Context) {
return
}
utils.JSON(gc.Writer, http.StatusCreated, accountSaved)
return
}
func (c *Context) DeleteAccountOfUser(gc *gin.Context) {
userId := gc.Param("userId")
accountId := gc.Param("accountId")
c.service.DeleteAccountOfUser(userId, accountId)
err := c.service.DeleteAccountOfUser(userId, accountId)
if err != nil {
return
}
}