fix(status): add log statement for notification sending process

This commit is contained in:
2025-12-13 19:11:48 +01:00
parent b0ced298c0
commit 034921d00d

View File

@@ -229,6 +229,7 @@ export class StatusService {
const users = await this.followRepo.find({where: {enable: true}});
const hosts = notifs.map((n) => n.host);
const users_ids : string[] = [];
console.log("Sending notifs...")
users.filter(v => hosts.includes(v.service)).forEach(async (user) => {
if(!users_ids.includes(user.user_discord)) {
users_ids.push(user.user_discord)