2026-04-23 17:27:09: merge [main:48ccd130b2c03616d9d7fa2fecb57426bbf3c6c4];
This commit is contained in:
1 parent
e571aa709a
commit
5bf1807cb3
25 files changed
+453
-156
No files matched your search
@@ -87,8 +87,7 @@ func (c Config) GetActiveConfigByModuleName(ctx context.Context, moduleName stri
|
||||
return nil, entity.ErrConfigNotFound
|
||||
}
|
||||
|
||||
result := configToDto(*config, nil)
|
||||
return &result, nil
|
||||
return new(configToDto(*config, nil)), nil
|
||||
}
|
||||
|
||||
func (c Config) GetConfigsByModuleId(ctx context.Context, moduleId string) ([]domain.Config, error) {
|
||||
@@ -209,8 +208,7 @@ func (c Config) GetConfigById(ctx context.Context, configId string) (*domain.Con
|
||||
return nil, entity.ErrConfigNotFound
|
||||
}
|
||||
|
||||
result := configToDto(*config, nil)
|
||||
return &result, nil
|
||||
return new(configToDto(*config, nil)), nil
|
||||
}
|
||||
|
||||
func (c Config) MarkConfigAsActive(ctx context.Context, configId string) error {
|
||||
|
||||
Reference in new issue
Block a user