diff --git a/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Config/MasaStackConfigExtensions.cs b/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Config/MasaStackConfigExtensions.cs index c1c3feb79..e434d897c 100644 --- a/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Config/MasaStackConfigExtensions.cs +++ b/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Config/MasaStackConfigExtensions.cs @@ -168,7 +168,6 @@ public static DccOptions GetDefaultDccOptions(this IMasaStackConfig masaStackCon DefaultDatabase = redis.RedisDb, Password = redis.RedisPassword }, - Secret = masaStackConfig.DccSecret, PublicSecret = masaStackConfig.DccSecret, ConfigObjectSecret = masaStackConfig.DccSecret }; diff --git a/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Config/MasaStackConfigUtils.cs b/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Config/MasaStackConfigUtils.cs index a222e6ae0..dce90dd66 100644 --- a/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Config/MasaStackConfigUtils.cs +++ b/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Config/MasaStackConfigUtils.cs @@ -54,8 +54,8 @@ public static DccOptions GetDefaultDccOptions(Dictionary configM DefaultDatabase = redis.RedisDb, Password = redis.RedisPassword }, - Secret = secret, - PublicSecret = secret + PublicSecret = secret, + ConfigObjectSecret = secret }; return options;