case 4505

This commit is contained in:
2023-04-04 21:35:21 +00:00
parent 6129ec5b0b
commit 6322356fea

View File

@@ -75,7 +75,7 @@ namespace Sockeye.Api.Controllers
} }
//can't do this if there is a purchased license with this dbid already //can't do this if there is a purchased license with this dbid already
if (await ct.License.Where(z => z.DbId == r.DbId).AnyAsync()) if (await ct.License.Where(z => z.DbId == r.DbId && z.TrialMode==false).AnyAsync())
{ {
return BadRequest("E1000 - Can't trial; there is already a purchased license issued for this database Id"); return BadRequest("E1000 - Can't trial; there is already a purchased license issued for this database Id");
} }