Private
Public Access
primeros cambios hechos para tener el multitenant
This commit is contained in:
1 parent
34ad4424f9
commit
4e082e8767
132 files changed
+6202
-762
No files matched your search
@@ -14,7 +14,7 @@ func EliminarPermiso(c *gin.Context) {
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": "ID invalido"})
|
||||
return
|
||||
}
|
||||
if err := r.ObtenerRepositorios().Permiso.Eliminar(uint(id)); err != nil {
|
||||
if err := r.ObtenerRepositorios(c).Permiso.Eliminar(uint(id)); err != nil {
|
||||
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user