Files
EpinelPS/EpinelPS/IntlServer/CodeStatusEndpoint.cs
2024-07-30 13:04:25 -04:00

14 lines
392 B
C#

namespace EpinelPS.IntlServer
{
public class CodeStatusEndpoint : IntlMsgHandler
{
public override bool RequiresAuth => false;
protected override async Task HandleAsync()
{
// pretend that any code is valid
await WriteJsonStringAsync("{\"expire_time\":759,\"msg\":\"Success\",\"ret\":0,\"seq\":\"" + Seq + "\"}");
}
}
}