planetterp / PlanetTerp

a community for students at the university of maryland
https://planetterp.com
GNU Affero General Public License v3.0
40 stars 20 forks source link

Incorrect message is displayed after clicking the "help" button in the admin panel when `WEBHOOK_URL_HELP=None` #128

Closed nsandler1 closed 1 year ago

nsandler1 commented 1 year ago

If WEBHOOK_URL_HELP=None in config.py and the "help" button is clicked, the message "Help request sent" is displayed, when it really hasn't been sent. The button should still work regardless of what WEBHOOK_URL_HELP is set to, but the message should change to something like "can't send help request because WEBHOOK_URL_HELP is None".