Skip to content

Commit 17a6964

Browse files
committed
Update DependencyInjection.cs
1 parent c6a37eb commit 17a6964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WMS.WebUI/WMS.WebUI/Extensions/DependencyInjection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public static class DependencyInjection
88
public static IServiceCollection AddSyncfusion(this IServiceCollection services, IConfiguration configuration)
99
{
1010
var section = configuration.GetSection("Keys");
11-
var key = section.GetValue<string>("Syncfusion");
11+
var key = section.GetValue<string>("Syncfusion") ?? "asd";
1212

1313
if (string.IsNullOrEmpty(key))
1414
{

0 commit comments

Comments
 (0)