fix handler error

This commit is contained in:
DeniskaRediska committed 2019-11-12 16:23:22 +03:00
1 parent 0aa1dc40fd
commit 5a811a9203
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ type TokenHandler struct {
}
type AccessListHandler struct {
GetById func(domain.Identity) (domain.ModuleMethods, error) `method:"get_by_id" group:"access_list" inner:"true"`
GetById func(domain.Identity) ([]domain.MethodInfo, error) `method:"get_by_id" group:"access_list" inner:"true"`
SetOne func(entity.AccessList) (*domain.CountResponse, error) `method:"set_one" group:"access_list" inner:"true"`
SetList func(domain.SetListRequest) (*domain.CountResponse, error) `method:"set_list" group:"access_list" inner:"true"`
}