Use a sensible default value for labels
This commit is contained in:
parent
a46574281d
commit
07cb38e965
|
@ -540,7 +540,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
|
|||
"event_id": event_id,
|
||||
"label": label,
|
||||
}
|
||||
for label in event_json["content"].get(LabelsField)
|
||||
for label in event_json["content"].get(LabelsField, [])
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue