diff --git a/server/polar/integrations/plain/service.py b/server/polar/integrations/plain/service.py index 9e55f45331..9b95866cd2 100644 --- a/server/polar/integrations/plain/service.py +++ b/server/polar/integrations/plain/service.py @@ -207,7 +207,8 @@ async def _get_organization_card( key=CustomerCardKey.organization, timeToLiveSeconds=86400, components=[ - component.model_dump(by_alias=True) for component in components + component.model_dump(by_alias=True, exclude_none=True) + for component in components ], )