Errors to Error std output
This commit is contained in:
@ -31,7 +31,7 @@ namespace isnd.Controllers
|
||||
public async Task<IActionResult> CatalogLeafAsync(string id, string lower)
|
||||
{
|
||||
string pkgType = ParamHelpers.Optional(ref lower);
|
||||
var pkgVersion = await _dbContext.PackageVersions
|
||||
var pkgVersion = await dbContext.PackageVersions
|
||||
.Include(v => v.LatestCommit)
|
||||
.SingleOrDefaultAsync(
|
||||
v => v.PackageId == id &&
|
||||
@ -40,7 +40,7 @@ namespace isnd.Controllers
|
||||
);
|
||||
if (pkgVersion == null) return NotFound();
|
||||
|
||||
var pub = await _dbContext.Commits
|
||||
var pub = await dbContext.Commits
|
||||
.Include(c => c.Versions)
|
||||
.OrderBy(c => c.CommitTimeStamp)
|
||||
.SingleOrDefaultAsync
|
||||
|
Reference in New Issue
Block a user