From 5d3ea3c4985b385e1a5ecf8793e42e44b046892c Mon Sep 17 00:00:00 2001 From: abgd1234 <84060801+abgd1234@users.noreply.github.com> Date: Sun, 8 Jan 2023 18:59:17 +0000 Subject: [PATCH] Get WEBHOOK_BODY from env --- src/models/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/config.py b/src/models/config.py index 3da789fc..a3c6f567 100644 --- a/src/models/config.py +++ b/src/models/config.py @@ -346,6 +346,7 @@ def _read_env(self) -> None: self._env_get_boolean("WEBHOOK", "webhook.enabled") self._env_get("WEBHOOK_URL", "webhook.url") self._env_get("WEBHOOK_METHOD", "webhook.method") + self._env_get("WEBHOOK_BODY", "webhook.body") self._env_get("WEBHOOK_TYPE", "webhook.type") self._env_get_int("WEBHOOK_TIMEOUT", "webhook.timeout") self._env_get_cron("WEBHOOK_CRON", "webhook.cron")