Added ToString overrides

This commit is contained in:
2023-08-27 01:21:23 +02:00
parent 6e1a0ab06c
commit bbd716383a
8 changed files with 42 additions and 3 deletions

View File

@ -16,7 +16,12 @@ public class Gotify : NotificationConnector
this.endpoint = endpoint;
this.appToken = appToken;
}
public override string ToString()
{
return $"Gotify {endpoint}";
}
public override void SendNotification(string title, string notificationText)
{
Log($"Sending notification: {title} - {notificationText}");