diff --git a/kepi/trilby_api/views.py b/kepi/trilby_api/views.py index a529a13..84555ef 100644 --- a/kepi/trilby_api/views.py +++ b/kepi/trilby_api/views.py @@ -354,7 +354,10 @@ class HomeTimeline(AbstractTimeline): if item.f_type in [ 'Create', ]: - result.append(item['object__obj']) + product = item['object__obj'] + + if product is not None: + result.append(product) return result