diff --git a/README.md b/README.md index 1e8a3fe..cb5323a 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,14 @@ optional arguments: -H, --healthcheck simply exit with 0 for healthy or 1 when unhealthy The following environment variables will override any config or default: - * DELETE_ONRESOLVE (default: False) - * DISABLE_RESOLVED (default: False) - * GOTIFY_CLIENT (default: None) - * GOTIFY_KEY (default: None) - * GOTIFY_PORT (default: 80) - * GOTIFY_SERVER (default: localhost) - * LISTEN_PORT (default: 8080) - * VERBOSE (default: 0) + * DELETE_ONRESOLVE (default: False) + * DISABLE_RESOLVED (default: False) + * GOTIFY_KEY_APP (default: None) + * GOTIFY_KEY_CLIENT (default: None) + * GOTIFY_PORT (default: 80) + * GOTIFY_SERVER (default: localhost) + * LISTEN_PORT (default: 8080) + * VERBOSE (default: 0) ``` diff --git a/src/alertify/__init__.py b/src/alertify/__init__.py index 80c92e2..045c549 100644 --- a/src/alertify/__init__.py +++ b/src/alertify/__init__.py @@ -25,8 +25,8 @@ class Alertify: self.gotify = Gotify( self.config.gotify_server, self.config.gotify_port, - self.config.gotify_key, - self.config.gotify_client, + self.config.gotify_key_app, + self.config.gotify_key_app, ) self.message_handler = MessageHandler( self.gotify, diff --git a/src/alertify/config.py b/src/alertify/config.py index 155e5f7..86cd9bb 100644 --- a/src/alertify/config.py +++ b/src/alertify/config.py @@ -16,8 +16,8 @@ class Config: delete_onresolve = bool(False) disable_resolved = bool(False) - gotify_client = str() - gotify_key = str() + gotify_key_app = str() + gotify_key_client = str() gotify_port = int(80) gotify_server = str('localhost') listen_port = int(8080)