From 2d8ea744c9eb2ef1d9330e5f0e2ac24cfc35a098 Mon Sep 17 00:00:00 2001 From: ntr Date: Wed, 30 Aug 2023 20:23:54 +1000 Subject: [PATCH] update on post --- Assets/Src/LapService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/Src/LapService.cs b/Assets/Src/LapService.cs index 779d387..561a095 100644 --- a/Assets/Src/LapService.cs +++ b/Assets/Src/LapService.cs @@ -82,9 +82,11 @@ public class LapService { if (req.result != UnityWebRequest.Result.Success) { Debug.Log(req.error); + } else { + Debug.Log($"posted lap {dto}"); + Debug.Log("Received: " + req.downloadHandler.text); + SetLapTimes(req.downloadHandler.text); } - - Debug.Log($"posted lap {dto}"); } }