sandiegojs / sdjs-speaker-pipeline

Web application to apply a workflow for organizing speakers for events.
MIT License
2 stars 29 forks source link

Adding organizer doesn't add new organizer to current organizers list #124

Closed iprincess closed 5 years ago

iprincess commented 5 years ago

Describe the bug After adding an organizer, you have to refresh the page before the new organizer appears in the organizer list.

To Reproduce Steps to reproduce the behavior:

  1. Go to /#/Organizers
  2. Add an organizer
  3. Scroll down to the bottom of the page
  4. See that the new organizer is not there
  5. See that there was a 500 error for /api/organizers (see screenshot)
  6. Refresh the page, and see the new organizer is now there

Expected behavior When a new organizer is successfully added, it should show in the organizer list with a page refresh

Screenshots

image image

System Info (please complete the following information):

Additional context Add any other context about the problem here.

BladeSe7en commented 5 years ago

This is not an issue with the code. If you add an admin it works properly. The reason you are getting a 500 error is because you do not have the .env token for the sendgrid emailer. So when you add a new organizer, you are unauthorized to send the email.

Rush0415 commented 5 years ago

This issue is now resolved and have been merged. Thank you for your contribution to SDJS-speaker-pipeline.