Tranga/API/APIEndpointRecords/PushoverRecord.cs
Glax 66fcdca7e7
Some checks failed
Docker Image CI / build (push) Has been cancelled
Pushover Notifications https://github.com/C9Glax/tranga/issues/246
2025-03-29 20:55:24 +01:00

13 lines
281 B
C#

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;
}
}