WAAS icon indicating copy to clipboard operation
WAAS copied to clipboard

Possible to have no webhooks?

Open johncadengo opened this issue 1 year ago • 0 comments

Describe the feature you'd like to request

Working on setting it up through docker compose. Is it possible to have no ALLOWED_WEBHOOKS_FILE? When I don't set the env variable, I get errors:

|   File "/workspace/src/__init__.py", line 1, in <module>
|     from .main import app
|   File "/workspace/src/main.py", line 57, in <module>
|     webhook_store = WebhookService(allowed_webhooks_file)
|   File "/workspace/src/services/webhook_service.py", line 16, in __init__
|     if not os.path.exists(webhook_file):
|   File "/usr/local/lib/python3.10/genericpath.py", line 19, in exists
|     os.stat(path)
| TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Describe the solution you'd like

No response

johncadengo avatar Mar 29 '23 06:03 johncadengo