fixes bug where color hex values where not passed along (variable mixup)
This commit is contained in:
2
backend
2
backend
Submodule backend updated: 87a229f791...183bf60fc0
@ -147,8 +147,8 @@ def fetchCalendarEvents(user, calendars, startDate, endDate):
|
|||||||
# handle weird colors from google
|
# handle weird colors from google
|
||||||
color = event.get('colorId')
|
color = event.get('colorId')
|
||||||
if color == None:
|
if color == None:
|
||||||
newEvent.calendarHex = calendar.color
|
newEvent.colorHex = calendar.color
|
||||||
newEvent.evnetColorId = None
|
newEvent.eventColorId = None
|
||||||
else:
|
else:
|
||||||
newEvent.eventColorId = color
|
newEvent.eventColorId = color
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user