File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public static ElasticsearchClient Create(
17
17
object response ,
18
18
int statusCode = 200 ,
19
19
Func < ElasticsearchClientSettings , ElasticsearchClientSettings > modifySettings = null ,
20
- string contentType = RequestData . DefaultContentType ,
20
+ string contentType = BoundConfiguration . DefaultContentType ,
21
21
Exception exception = null
22
22
)
23
23
{
@@ -29,7 +29,7 @@ public static ElasticsearchClientSettings CreateConnectionSettings(
29
29
object response ,
30
30
int statusCode = 200 ,
31
31
Func < ElasticsearchClientSettings , ElasticsearchClientSettings > modifySettings = null ,
32
- string contentType = RequestData . DefaultContentType ,
32
+ string contentType = BoundConfiguration . DefaultContentType ,
33
33
Exception exception = null ,
34
34
Serializer serializer = null
35
35
)
@@ -46,7 +46,7 @@ public static ElasticsearchClientSettings CreateConnectionSettings(
46
46
break ;
47
47
default :
48
48
{
49
- responseBytes = contentType == RequestData . DefaultContentType
49
+ responseBytes = contentType == BoundConfiguration . DefaultContentType
50
50
? serializer . SerializeToBytes ( response ,
51
51
TestClient . Default . ElasticsearchClientSettings . MemoryStreamFactory )
52
52
: Encoding . UTF8 . GetBytes ( response . ToString ( ) ) ;
You can’t perform that action at this time.
0 commit comments