Fix typo in env var

This commit is contained in:
idanoo 2023-01-30 11:28:31 +13:00
parent b3c829c381
commit 46b90e6475
Signed by: idanoo
GPG key ID: 387387CDBC02F132
2 changed files with 5 additions and 2 deletions

View file

@ -14,10 +14,13 @@ type MatrixWebhook struct {
}
func sendToMatrix(m []metric) {
if MATRIX_WEBHOOK_URL == "" {
return
}
startOfDay := getStartofDay()
msg := fmt.Sprintf(
"*User stats for %d:*\n\n",
"*User stats for %d:*\n%s",
startOfDay,
getPrintableString(m),
)