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

Commit 2b796e5

Browse files
committed
don't use deprecated APIs
1 parent 67a3055 commit 2b796e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ServiceStack.Redis/RedisClient.ICacheClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ public partial class RedisClient
2424
{
2525
public T Exec<T>(Func<RedisClient, T> action)
2626
{
27-
using (JsConfig.With(excludeTypeInfo: false))
27+
using (JsConfig.With(new Text.Config { ExcludeTypeInfo = false }))
2828
{
2929
return action(this);
3030
}
3131
}
3232

3333
public void Exec(Action<RedisClient> action)
3434
{
35-
using (JsConfig.With(excludeTypeInfo: false))
35+
using (JsConfig.With(new Text.Config { ExcludeTypeInfo = false }))
3636
{
3737
action(this);
3838
}

0 commit comments

Comments
 (0)