diff --git a/server/Controllers/RvrController.cs b/server/Controllers/RvrController.cs index b8e943b..6d80517 100644 --- a/server/Controllers/RvrController.cs +++ b/server/Controllers/RvrController.cs @@ -75,7 +75,7 @@ namespace Sockeye.Api.Controllers } //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"); }