fix(crm): nil pointer dereference
This commit is contained in:
parent
b218071066
commit
14b8b6d20e
@ -37,7 +37,7 @@ func (s *content) With(ctx context.Context) ContentService {
|
||||
return &content{
|
||||
db: db,
|
||||
ctx: ctx,
|
||||
repository: s.repository.With(ctx, db),
|
||||
repository: repository.Content(ctx, db),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ func (s *field) With(ctx context.Context) FieldService {
|
||||
return &field{
|
||||
db: db,
|
||||
ctx: ctx,
|
||||
repository: s.repository.With(ctx, db),
|
||||
repository: repository.Field(ctx, db),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ func (s *module) With(ctx context.Context) ModuleService {
|
||||
return &module{
|
||||
db: db,
|
||||
ctx: ctx,
|
||||
repository: s.repository.With(ctx, db),
|
||||
repository: repository.Module(ctx, db),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user