feat: Replace interface{} with any type alias for improved code clarity

- Remove omitempty from Plan field in Subscriber model
- Update NotifySubscriberUpdate to use any instead of interface{}
- Update sendDeactivationRequest parameter type from interface{} to any
This commit is contained in:
nutcas3
2026-04-14 16:07:04 +03:00
parent 13355a07e7
commit 1ead99440e
3 changed files with 3 additions and 3 deletions
@@ -308,7 +308,7 @@ func (e *ES2Service) sendActivationRequest(ctx context.Context, req ActivationRe
return nil
}
func (e *ES2Service) sendDeactivationRequest(ctx context.Context, req interface{}) error {
func (e *ES2Service) sendDeactivationRequest(ctx context.Context, req any) error {
jsonData, err := json.Marshal(req)
if err != nil {
return fmt.Errorf("failed to marshal deactivation request: %w", err)