From c33b59bcab7ae16914ebeae200a6195204e76b3a Mon Sep 17 00:00:00 2001 From: Hank Shen Date: Wed, 6 Dec 2023 11:54:31 +0800 Subject: update --- setter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setter.go') diff --git a/setter.go b/setter.go index a82dee9..2ad7052 100644 --- a/setter.go +++ b/setter.go @@ -49,7 +49,7 @@ func SetSerializer(codecs []Codec, sz Serializer) { for _, c := range codecs { if codec, ok := c.(*SecureCookie); ok { codec.SetSerializer(sz) - } else if codec, ok := c.(*UnsafeCodec); ok { + } else if codec, ok := c.(*LiteCodec); ok { codec.SetSerializer(sz) } } -- cgit v1.2.3