chore: auto-commit 2026-08-12 20:05 [Heimdall] src/Heimdall.Agent/Services/AgentRegistrationService.cs, src/Heimdall.Agent/Services/SnapshotPipelineService.cs, src/Heimdall.Application/DTOs/SettingDto.cs, src/Heimdall.Domain/Entities/UserNotificationConfig.cs, src/Heimdall.Infrastructure/BackgroundJobs/DependencyInjection.cs…
This commit is contained in:
1 parent
0ab266e0bf
commit
566aa84bc7
9 files changed
+51
-43
No files matched your search
@@ -294,9 +294,13 @@ public class SettingsController : ControllerBase
|
||||
var topic = string.IsNullOrWhiteSpace(request?.Topic) ? "heimdall-test" : request.Topic;
|
||||
var ok = await ntfyService.SendTestAsync(topic, "Heimdall — test de configuration",
|
||||
"✅ Notification ntfy reçue : le serveur est joignable et le token est accepté.", ct);
|
||||
return Ok(new { success = ok, message = ok
|
||||
return Ok(new
|
||||
{
|
||||
success = ok,
|
||||
message = ok
|
||||
? $"Notification test envoyée sur le topic « {topic} »"
|
||||
: "Échec de l'envoi ntfy (serveur injoignable ou rejet — voir les logs)." });
|
||||
: "Échec de l'envoi ntfy (serveur injoignable ou rejet — voir les logs)."
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user