mirror of
https://github.com/C9Glax/tranga.git
synced 2025-04-12 19:36:08 +02:00
13 lines
281 B
C#
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;
|
|
}
|
|
} |