1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-06-05 11:43:00 +02:00

Remove LunaseaRecord

This commit is contained in:
Glax 2025-05-17 17:42:07 +02:00
parent 3283dd7290
commit aacdb72d6a

@ -1,16 +0,0 @@
using System.Text.RegularExpressions;
namespace API.APIEndpointRecords;
public record LunaseaRecord(string id)
{
private static Regex validateRex = new(@"(?:device|user)\/[0-9a-zA-Z\-]+");
public bool Validate()
{
if (id == string.Empty)
return false;
if (!validateRex.IsMatch(id))
return false;
return true;
}
}