Skip to content
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

Possible to have no webhooks? #134

Open
johncadengo opened this issue Mar 29, 2023 · 0 comments
Open

Possible to have no webhooks? #134

johncadengo opened this issue Mar 29, 2023 · 0 comments
Labels
type/feature Issue or PR related to a new feature

Comments

@johncadengo
Copy link

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 johncadengo added the type/feature Issue or PR related to a new feature label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Issue or PR related to a new feature
Projects
None yet
Development

No branches or pull requests

1 participant