mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
We didn't return on a cache miss, resulting in a JSON read error
This commit is contained in:
parent
1efa5c3a04
commit
ce29a02cf3
@ -88,6 +88,7 @@ public class NexusCache : ControllerBase
|
|||||||
Response.StatusCode = 200;
|
Response.StatusCode = 200;
|
||||||
Response.ContentType = "application/json";
|
Response.ContentType = "application/json";
|
||||||
await JsonSerializer.SerializeAsync(Response.Body, returned, _dtos.Options, cancellationToken: token);
|
await JsonSerializer.SerializeAsync(Response.Body, returned, _dtos.Options, cancellationToken: token);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
await JsonSerializer.SerializeAsync(Response.Body, cached, _dtos.Options, cancellationToken: token);
|
await JsonSerializer.SerializeAsync(Response.Body, cached, _dtos.Options, cancellationToken: token);
|
||||||
|
Loading…
Reference in New Issue
Block a user