BUGFIX - decorated_subscription returns nil
decorated_subscription is expected to return nil when there is no subscription. It was previously returning an empty SubscriptionDecorator object and caused breakage. This change corrects the behavior, in tune with what the Gitlab::ExpiringSubscriptionMessage expects. This is part of: https://gitlab.com/gitlab-org/gitlab/-/issues/214212
Showing
Please register or sign in to comment