Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colorid not changing the event color #39

Open
thokkane opened this issue Nov 3, 2021 · 0 comments
Open

colorid not changing the event color #39

thokkane opened this issue Nov 3, 2021 · 0 comments

Comments

@thokkane
Copy link

thokkane commented Nov 3, 2021

I have this code with the colorId set, but it seems not have any effect. Everything else is working, but the color is not set. Also when updating the event it always sets the color to the default and overwrites if the event color was changed by a user in google calendar. Am i missing something for the colorId parameter? I've tried to leave it completely out to not overwite user's color changes, but even then it resets the color to the default, overriding the user's changes.

let event = {
    'start': { 'dateTime': start_date },
    'end': { 'dateTime': end_date },
    'location': location,
    'summary': summary,
    //'status': 'confirmed',
    'description': description,
    'colorId': 5 
}
resp = await cal.Events.insert(calendarId, event)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant