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

Team Availability example throws an error #142

Open
janneleppanen opened this issue May 3, 2017 · 1 comment
Open

Team Availability example throws an error #142

janneleppanen opened this issue May 3, 2017 · 1 comment

Comments

@janneleppanen
Copy link

team-availability.htm example throws a following error:

utils.js:29 TimekitBooking Error:  
(3) ["Encountered an error when picking designated team user to receive booking", Object, Array(2)]

main.js:510 Uncaught TypeError: Cannot read property 'then' of undefined

Seems to be caused because items in config.timekitFindTimeTeam.users doesn't contain property _email.

Can you preproduce the error, or does it look like I have missed something? Thanks. :)

@laander
Copy link
Contributor

laander commented May 4, 2017

@janneleppanen Thanks for letting us know! I've fixed the example now in the latest release.

Note that you need to enter your own emails/apitoken/calendar for your own users in order for it to work (the default is just for example purposes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants