mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-17 01:15:13 +01:00
Rename project to EpinelPS
This commit is contained in:
13
EpinelPS/IntlServer/CodeStatusEndpoint.cs
Normal file
13
EpinelPS/IntlServer/CodeStatusEndpoint.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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 + "\"}");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user