mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-08-18 22:24:53 +02:00
.github
.idea
app
.idea
Desktop
Resources
Server
Database
Endpoints
BaseEndpoint.cs
TrackChannelEndpoint.cs
TrackMessagesEndpoint.cs
Service
Server.csproj
Session.cs
SessionSettings.cs
Utils
.gitignore
Directory.build.props
DiscordHistoryTracker.sln
Version.cs
build.bat
build.sh
empty.dht
global.json
lib
tools
web
.gitattributes
.gitignore
LICENSE.md
README.md
18 lines
468 B
C#
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;
|
|
}
|
|
}
|