grassrootsgrocery / admin-portal

GNU Affero General Public License v3.0
11 stars 6 forks source link

Remove webhook URLs out of code and into ENV variables instead #38

Closed mattsahn closed 1 year ago

mattsahn commented 1 year ago

The webhook URLs for triggering scenarios in Make (such as Tuesday recruitment text) are unauthenticated and, therefore, should not be exposed publicly in the codebase (in messaging.ts). The existing ones should also be changed to new ones as part of the cleanup.

This applies to: sendCoordinatorRecruitmentTextWebhook sendTuesdayRecruitmentTextAutomationWebhook sendDriverInfoToCoordinatorsWebhook sendLocationsAndPOCDetailsWebhook