diff --git a/src/HotChocolate/Core/src/Types/Types/Relay/Serialization/OptimizedNodeIdSerializer.cs b/src/HotChocolate/Core/src/Types/Types/Relay/Serialization/OptimizedNodeIdSerializer.cs index 6eb58166633..eebfe2e64d5 100644 --- a/src/HotChocolate/Core/src/Types/Types/Relay/Serialization/OptimizedNodeIdSerializer.cs +++ b/src/HotChocolate/Core/src/Types/Types/Relay/Serialization/OptimizedNodeIdSerializer.cs @@ -41,12 +41,12 @@ internal OptimizedNodeIdSerializer( _stringSerializerMap = boundSerializers.ToFrozenDictionary( t => t.TypeName, - t => new Serializer(t.TypeName, t.Serializer, outputNewIdFormat, _urlSafeBase64)); + t => new Serializer(t.TypeName, t.Serializer, outputNewIdFormat, urlSafeBase64)); #else _stringSerializerMap = boundSerializers.ToDictionary( t => t.TypeName, - t => new Serializer(t.TypeName, t.Serializer, outputNewIdFormat, _urlSafeBase64)); + t => new Serializer(t.TypeName, t.Serializer, outputNewIdFormat, urlSafeBase64)); #endif _serializers = allSerializers; _spanSerializerMap = new SpanSerializerMap();