-
Notifications
You must be signed in to change notification settings - Fork 33
Feature/interview nylas #571
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
Feature/interview nylas #571
Conversation
…ication schedules
The last 5 commit is about final fixes, please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @painterner.
Most of the fixes works great for me.
The only issue I'm still getting, is that App is still crashing sometimes, see screenshots:
https://monosnap.com/file/IDoXLfeD2YXkTKfX1h7LklmgP80OpA
https://monosnap.com/file/hOaENsQ66p8dhEolijg1oYncNge36Q
Steps to reproduce:
- use my
.env
file provided by email - run
npm run local:init
- run
npm run dev
- run in separate window
node scripts/demo-email-notifications/index.js
- wait around 5 minutes
const user = await getUserWithId(jobCandidate.userId) | ||
if (!user) { return null } | ||
|
||
const interviewLink = `${config.TAAS_APP_URL}/${job.projectId}/positions/${job.id}/candidates/interviews` | ||
const guestName = _.isEmpty(interview.guestNames) ? '' : interview.guestNames[0] | ||
// const guestName = _.isEmpty(interview.guestNames) ? '' : interview.guestNames[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove commented line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
…ok would use custom express middleware
…sSchedulerService to eventHandles/InterviewEventHandler
Hi, I have created three new commits for app crashing + three additional tasks.
I am a little curious why I only got promise warning but you got app crashing, is my warning the case you got error ? |
Hi Thank you for 3 additional tasks. Regarding the 1st task. The idea is that we don't have to write code inside
I guess app crashes for me because I used Node v16, when use Node v12 I also get |
Looks like after you wrapped other method with your catcher there is no crash anymore and no |
No |
Updated for send invitation request. test passed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @painterner, all works good now.
Final fix PR for challenge:
Topcoder TaaS Interview Scheduler - Notifications