Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 345b769

Browse files
committed
Fix build for SL5
1 parent e81def8 commit 345b769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Text/LicenseUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public static LicenseKey ToLicenseKeyFallback(this string licenseKeyText)
407407
{
408408
Ref = map.Get("Ref"),
409409
Name = map.Get("Name"),
410-
Type = (LicenseType)Enum.Parse(typeof(LicenseType), map.Get("Type")),
410+
Type = (LicenseType)Enum.Parse(typeof(LicenseType), map.Get("Type"), ignoreCase: true),
411411
Hash = map.Get("Hash"),
412412
Expiry = DateTimeSerializer.ParseManual(map.Get("Expiry"), DateTimeKind.Utc).GetValueOrDefault(),
413413
};

0 commit comments

Comments
 (0)