Skip to content
2 changes: 1 addition & 1 deletion src/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Settings(BaseSettings):
host: str = "127.0.0.1"
port: int = 8000
reload_value: str = "true"
telex_webhook_url: str = "https://example.com/telex"
telex_webhook_url: str = "https://ping.telex.im/v1/webhooks"
curl_command: str | None = "curl" # might require path/to/curl e.g. `/usr/bin/curl`
app_logo_url: str = "https://example.com/logo.png"
app_url: str = "https://example.com"
Expand Down
8 changes: 7 additions & 1 deletion tests/test_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ def test_send_to_telex_success():
json={
"pusher": {"name": "test"},
"commits": [
{"key": "value"},
{
"id": "commit_hash",
"message": "commit_message",
"timestamp": "2025-02-18T10:17:54+01:00",
"url": "commit_url",
"author": {"name": "author_name", "email": "author_email"}
}
],
},
)
Expand Down