feat: arreglado tema permisos

This commit is contained in:
fede committed 2026-06-14 04:33:04 -03:00
1 parent 7d77898b68
commit 939e972c64
9 files changed
+127 -54

No files matched your search

+2 -2
View File
@@ -24,6 +24,6 @@ func (p *Permiso) Buscar(id uint) bool {
return p.ID == id
}
func (p *Permiso) ListarPermisos() []Permiso {
return []Permiso{*p}
func (p *Permiso) ListarPermisos(permisos map[uint]Permiso) {
permisos[p.ID] = *p
}