JSON payload I was given was not correct!

This commit is contained in:
barelyprofessional committed 2025-12-25 12:36:02 -06:00
1 parent e602391bd7
commit 4c54e656b4
1 file changed
+1 -1
+1 -1
View File
@@ -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)