This commit is contained in:
2022-06-16 17:03:38 +01:00
parent a11bab759e
commit 519a4fbd46
7 changed files with 37 additions and 19 deletions

View File

@ -32,8 +32,8 @@ namespace isnd.Controllers
{
string pkgType = ParamHelpers.Optional(ref lower);
var pkgVersion = await dbContext.PackageVersions
.Include(v => v.LatestCommit)
.SingleOrDefaultAsync(
.Include(v => v.LatestCommit)
.SingleOrDefaultAsync(
v => v.PackageId == id &&
v.FullString == lower &&
v.Type == pkgType