This commit is contained in:
@@ -215,7 +215,7 @@ Plugins:
|
||||
public string LicenseFormat { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string RegisteredTo { get; set; }
|
||||
public Guid DbId { get; set; }
|
||||
public string DbId { get; set; }
|
||||
public DateTime LicenseExpiration { get; set; }
|
||||
public DateTime MaintenanceExpiration { get; set; }
|
||||
public List<LicenseFeature> Features { get; set; }
|
||||
@@ -264,7 +264,7 @@ Plugins:
|
||||
|
||||
|
||||
|
||||
public static string GetRavenTrialKey(Guid dbid, string CompanyName)
|
||||
public static string GetRavenTrialKey(string dbid, string CompanyName)
|
||||
{
|
||||
|
||||
//Build a sample test key, sign it and return it
|
||||
@@ -309,7 +309,8 @@ Plugins:
|
||||
if (string.IsNullOrWhiteSpace(k.RegisteredTo))
|
||||
throw new ArgumentException("RegisteredTo is required", "RegisteredTo");
|
||||
|
||||
if (k.DbId == Guid.Empty)
|
||||
// if (k.DbId == Guid.Empty)
|
||||
if (string.IsNullOrWhiteSpace(k.DbId))
|
||||
throw new ArgumentException("DBId is required", "RegisteredTo");
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user