primeros cambios hechos para tener el multitenant

This commit is contained in:
fede committed 2026-11-10 17:06:56 -03:00
1 parent 34ad4424f9
commit 4e082e8767
132 files changed
+6202 -762

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ func EliminarGrupo(c *gin.Context) {
c.JSON(http.StatusBadRequest, gin.H{"error": "ID invalido"})
return
}
if err := r.ObtenerRepositorios().Grupo.Eliminar(uint(id)); err != nil {
if err := r.ObtenerRepositorios(c).Grupo.Eliminar(uint(id)); err != nil {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return
}