From ce29a02cf3e2b781d4d639c2d1783f61497d709b Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Thu, 20 Jan 2022 08:00:36 -0700 Subject: [PATCH] We didn't return on a cache miss, resulting in a JSON read error --- Wabbajack.Server/Controllers/NexusCache.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Wabbajack.Server/Controllers/NexusCache.cs b/Wabbajack.Server/Controllers/NexusCache.cs index bc013aaa..24d810eb 100644 --- a/Wabbajack.Server/Controllers/NexusCache.cs +++ b/Wabbajack.Server/Controllers/NexusCache.cs @@ -88,6 +88,7 @@ public class NexusCache : ControllerBase Response.StatusCode = 200; Response.ContentType = "application/json"; await JsonSerializer.SerializeAsync(Response.Body, returned, _dtos.Options, cancellationToken: token); + return; } await JsonSerializer.SerializeAsync(Response.Body, cached, _dtos.Options, cancellationToken: token);