Pushover Notifications https://github.com/C9Glax/tranga/issues/246
Some checks failed
Docker Image CI / build (push) Has been cancelled

This commit is contained in:
2025-03-29 20:55:24 +01:00
parent 9350de0ae9
commit 66fcdca7e7
2 changed files with 41 additions and 2 deletions

View File

@ -0,0 +1,13 @@
namespace API.APIEndpointRecords;
public record PushoverRecord(string apptoken, string user)
{
public bool Validate()
{
if (apptoken == string.Empty)
return false;
if (user == string.Empty)
return false;
return true;
}
}