Get gitea rocket webhook parameters correct

This commit is contained in:
2025-11-01 11:20:59 +00:00
parent 437c57391e
commit 0b97f836b1

View File

@@ -172,6 +172,7 @@ def send_to_rocket_chat(alias: str, text: str, attachments: Optional[List[Dict[s
logging.exception("%s: failed to send to Rocket.Chat: %s", alias, e)
def send_startup_message(feed_name: str, chat_url: str):
logging.info(f"Sent startup message to {feed_name}")
send_to_rocket_chat(feed_name.capitalize(), f"{feed_name.capitalize()} integration started successfully.", None, chat_url)
# ---------------------------