feat: refactor auth package and add get users for staff

This commit is contained in:
ericprd
2025-03-07 17:39:26 +08:00
parent c48a4b944b
commit fdf572cd3d
29 changed files with 203 additions and 78 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"legalgo-BE-go/internal/utilities/utils"
)
func (ur *impl) Update(spec staffdomain.Staff) error {
func (ur *accessor) Update(spec staffdomain.Staff) error {
val, err := utils.StructToMap(spec)
if err != nil {
return err