Skip to content

Commit 014c87b

Browse files
committed
2300 - SF
1 parent 9390c39 commit 014c87b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

server/libs/modules/components/graphql-client/src/main/java/com/bytechef/component/graphql/client/action/GraphQlClientQueryAction.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ private GraphQlClientQueryAction() {
7474
public static Object perform(Parameters inputParameters, Parameters connectionParameters, Context context) {
7575
Map<String, Object> headers = inputParameters.getMap(HEADERS, Object.class, Map.of());
7676

77-
Map<String, List<String>> headerMap = headers
78-
.entrySet()
77+
Map<String, List<String>> headerMap = headers.entrySet()
7978
.stream()
8079
.collect(Collectors.toMap(
81-
Map.Entry::getKey, entry -> {
80+
Map.Entry::getKey,
81+
entry -> {
8282
Object value = entry.getValue();
8383

8484
return List.of(value.toString());

server/libs/modules/components/graphql-client/src/test/java/com/bytechef/component/client/action/GraphQlClientQueryActionTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ query ExampleQuery($characterId: ID!) {
4646
created
4747
}
4848
}""";
49+
4950
private final ArgumentCaptor<Http.Body> bodyArgumentCaptor = ArgumentCaptor.forClass(Http.Body.class);
5051
private final ArgumentCaptor<Map<String, List<String>>> mapArgumentCaptor = ArgumentCaptor.forClass(Map.class);
5152
private final Context mockedContext = mock(Context.class);

0 commit comments

Comments
 (0)