From 4c54e656b4e4da0206d7625d7dd6574fefe5d9fa Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Thu, 25 Dec 2025 12:36:02 -0600 Subject: [PATCH] JSON payload I was given was not correct! --- KfChatDotNetBot/Services/Zipline.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/Zipline.cs b/KfChatDotNetBot/Services/Zipline.cs index b095bdd..3e85875 100644 --- a/KfChatDotNetBot/Services/Zipline.cs +++ b/KfChatDotNetBot/Services/Zipline.cs @@ -45,7 +45,7 @@ public static class Zipline string url; try { - url = json.GetProperty("files")[0].GetString() ?? + url = json.GetProperty("files")[0].GetProperty("url").GetString() ?? throw new InvalidOperationException("Caught null when grabbing Zipline result"); } catch (Exception e)