JSON payload I was given was not correct!

This commit is contained in:
barelyprofessional
2025-12-25 12:36:02 -06:00
parent e602391bd7
commit 4c54e656b4

View File

@@ -45,7 +45,7 @@ public static class Zipline
string url; string url;
try try
{ {
url = json.GetProperty("files")[0].GetString() ?? url = json.GetProperty("files")[0].GetProperty("url").GetString() ??
throw new InvalidOperationException("Caught null when grabbing Zipline result"); throw new InvalidOperationException("Caught null when grabbing Zipline result");
} }
catch (Exception e) catch (Exception e)