Skip to content

Commit

Permalink
fix serialization for server_name field
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Mar 23, 2020
1 parent 8143c07 commit bb19b9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function serializeCluster(deserializedClusterObject: Cluster): ClusterPay
mode: mode ?? null,
proxy_address: proxyAddress ?? null,
proxy_socket_connections: proxySocketConnections ?? null,
server_name: serverName ?? null,
server_name: serverName && serverName !== '' ? serverName : null,
seeds: seeds ?? null,
node_connections: nodeConnections ?? null,
},
Expand Down

0 comments on commit bb19b9c

Please sign in to comment.