From 7f54cbd4980a2a7626e413788450b736f2ac5686 Mon Sep 17 00:00:00 2001 From: SlejmUr Date: Mon, 18 Sep 2023 21:35:01 +0200 Subject: [PATCH] DLC Sync fix --- PayCheckServerLib/Responses/DLCSync.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PayCheckServerLib/Responses/DLCSync.cs b/PayCheckServerLib/Responses/DLCSync.cs index f08d109..6c0bc88 100644 --- a/PayCheckServerLib/Responses/DLCSync.cs +++ b/PayCheckServerLib/Responses/DLCSync.cs @@ -20,8 +20,11 @@ public class PutDLC [HTTP("PUT", "/platform/public/namespaces/pd3/users/{UserId}/dlc/steam/sync")] public static bool PUT_DLC_SteamSync(HttpRequest request, PC3Server.PC3Session session) { - var body = JsonConvert.DeserializeObject(request.Body); - return false; + //var body = JsonConvert.DeserializeObject(request.Body); + ResponseCreator response = new ResponseCreator(204); + response.SetHeader("Content-Type", "application/json"); + session.SendResponse(response.GetResponse()); + return true; } } }