Skip to content

Commit 718bc6a

Browse files
committed
chore: update
1 parent 15cf316 commit 718bc6a

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/Services/Masa.Auth.Service.Admin/Program.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
// Copyright (c) MASA Stack All rights reserved.
22
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.
3-
using StackExchange.Redis;
43

54
var builder = WebApplication.CreateBuilder(args);
65

76
ValidatorOptions.Global.LanguageManager = new MasaLanguageManager();
87
GlobalValidationOptions.SetDefaultCulture("zh-CN");
98

109
var project = MasaStackProject.Auth;
11-
12-
var defaultStackConfig = builder.Configuration.GetDefaultStackConfig();
13-
var webId = defaultStackConfig.GetWebId(project);
14-
var ssoDomain = defaultStackConfig.GetSsoDomain();
1510
await builder.Services.AddMasaStackConfigAsync(project, MasaStackApp.Service);
1611

1712
var masaStackConfig = builder.Services.GetMasaStackConfig();

src/Services/Masa.Auth.Service.Admin/_Imports.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
global using OpenTelemetry.Instrumentation.StackExchangeRedis;
152152
global using OpenTelemetry.Trace;
153153
global using SixLabors.ImageSharp;
154+
global using StackExchange.Redis;
154155
global using System.Collections.Concurrent;
155156
global using System.Diagnostics.CodeAnalysis;
156157
global using System.Linq.Expressions;

0 commit comments

Comments
 (0)