This commit is contained in:
2026-01-27 10:42:04 -08:00
parent 48c92ea374
commit d1d95618ad
10 changed files with 533 additions and 57 deletions
@@ -42,7 +42,7 @@ func DeleteAccountHandler(serverCtx *svc.ServiceContext) gin.HandlerFunc {
}
l := user.NewDeleteAccountLogic(c.Request.Context(), serverCtx)
resp, err := l.DeleteAccount()
resp, err := l.DeleteAccountAll()
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return