fixes bug where color hex values where not passed along (variable mixup)
This commit is contained in:
parent
70197ee393
commit
0f47ff15dd
2
backend
2
backend
@ -1 +1 @@
|
|||||||
Subproject commit 87a229f791e2017898c1bba3b0e33a693a8d58fc
|
Subproject commit 183bf60fc089c76a9f1b9e9fde31d02b910d11a6
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user