style: replace interface{} with any per golangci-lint rules

This commit is contained in:
Edric Li
2026-01-10 19:08:41 +08:00
parent 0772cdda0f
commit 3fb4a2b0ff
3 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ func (s *SettingService) SetVersion(version string) {
// GetPublicSettingsForInjection returns public settings in a format suitable for HTML injection
// This implements the web.PublicSettingsProvider interface
func (s *SettingService) GetPublicSettingsForInjection(ctx context.Context) (interface{}, error) {
func (s *SettingService) GetPublicSettingsForInjection(ctx context.Context) (any, error) {
settings, err := s.GetPublicSettings(ctx)
if err != nil {
return nil, err