1
0
mirror of https://github.com/chylex/Discord-History-Tracker.git synced 2025-01-06 22:42:49 +01:00
Discord-History-Tracker/app/Server/Endpoints/TrackChannelEndpoint.cs
2023-07-21 18:47:21 +02:00

18 lines
468 B
C#

using System.Threading.Tasks;
using DHT.Server.Database;
using DHT.Server.Service;
using DHT.Utils.Http;
using Microsoft.AspNetCore.Http;
namespace DHT.Server.Endpoints;
sealed class TrackChannelEndpoint : BaseEndpoint {
public TrackChannelEndpoint(IDatabaseFile db, ServerAccessToken accessToken) : base(db, accessToken) {}
protected override async Task<IHttpOutput> Respond(HttpContext ctx) {
var root = await ReadJson(ctx);
return HttpOutput.None;
}
}