Skip to content

Commit b64e0dd

Browse files
Prettier and spell check (#13)
1 parent 2e502f1 commit b64e0dd

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
*.yml
44
*.md
55

6+
.volta
7+
68
dist/

cspell-dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Abdelsamed
12
apollographql
23
asynciterable
34
changesets

src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function normalizeGatewayEvent(event: GatewayEvent): HTTPGraphQLRequest {
9595
if (isV1Event(event)) {
9696
return normalizeV1Event(event);
9797
}
98-
98+
9999
if (isV2Event(event)) {
100100
return normalizeV2Event(event);
101101
}
@@ -121,7 +121,9 @@ function normalizeV1Event(event: APIGatewayProxyEvent): HTTPGraphQLRequest {
121121
// Passing a key with an array entry to the constructor yields
122122
// one value in the querystring with %2C as the array was flattened to a string
123123
// Multi values must be appended individually to get the to-spec output
124-
for (const [key, values] of Object.entries(event.multiValueQueryStringParameters ?? {})) {
124+
for (const [key, values] of Object.entries(
125+
event.multiValueQueryStringParameters ?? {},
126+
)) {
125127
for (const value of values ?? []) {
126128
searchParams.append(key, value);
127129
}

0 commit comments

Comments
 (0)