From 6322356fea31f39f0769dc37a8c85a74b0cee972 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 4 Apr 2023 21:35:21 +0000 Subject: [PATCH] case 4505 --- server/Controllers/RvrController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }