Skip to content

Commit 52b4463

Browse files
committed
refactor: reference datatMimeType from WellKnownMimeType
Signed-off-by: Kevin Viglucci <[email protected]>
1 parent 8dce80d commit 52b4463

File tree

1 file changed

+1
-2
lines changed
  • packages/rsocket-examples/src/graphql/apollo/client

1 file changed

+1
-2
lines changed

packages/rsocket-examples/src/graphql/apollo/client/example.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ let rsocketClient: RSocket;
2828
function makeRSocketConnector() {
2929
return new RSocketConnector({
3030
setup: {
31-
// TODO: dataMimeType value should come from WellKnownMimeType
32-
dataMimeType: "application/graphql+json",
31+
dataMimeType: WellKnownMimeType.APPLICATION_JSON.toString(),
3332
metadataMimeType:
3433
WellKnownMimeType.MESSAGE_RSOCKET_COMPOSITE_METADATA.toString(),
3534
},

0 commit comments

Comments
 (0)