Test mastodon

This commit is contained in:
idanoo 2023-01-30 11:59:32 +13:00
parent dcbef8eb1f
commit a54362231b
Signed by: idanoo
GPG key ID: 387387CDBC02F132
2 changed files with 6 additions and 6 deletions

View file

@ -13,8 +13,8 @@ func Run() {
// Write to DB
updatedMetrics := persistMetrics(metrics)
sendToMatrix(updatedMetrics)
postToMastodon(updatedMetrics)
if len(updatedMetrics) > 0 {
// sendToMatrix(updatedMetrics)
postToMastodon(updatedMetrics)
}
}