Skip to content

Commit 288c8e5

Browse files
authored
fix(route): fix route.fulfill json option handling (#16)
1 parent 23ebc51 commit 288c8e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WS/route/Route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default class Route {
135135
if (body !== undefined) {
136136
throw new Error('Can specify either body or json parameters');
137137
}
138-
fulfillBody = JSON.stringify(fulfillBody);
138+
fulfillBody = JSON.stringify(json);
139139
} else {
140140
fulfillBody = body;
141141
}

0 commit comments

Comments
 (0)