Fix bad server response on mod upgrade search

This commit is contained in:
Timothy Baldridge 2020-07-13 16:20:44 -06:00
parent f56956523f
commit a1dc137c1a

View File

@ -120,7 +120,7 @@ namespace Wabbajack.BuildServer.Controllers
var hash = Hash.FromHex(hashAsHex);
var patches = await _sql.PatchesForSource(hash);
return Ok(patches.Select(p => p.Dest).ToList());
return Ok(patches.Select(p => p.Dest.Archive).ToList().ToJson());
}