Skip to content

Commit

Permalink
🐛 fixed queryStringParameters object implementation netlify/netlify-l…
Browse files Browse the repository at this point in the history
  • Loading branch information
8eecf0d2 committed Oct 15, 2018
1 parent a254b26 commit 3bce932
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ts/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as path from "path";
import * as express from "express";
import * as bodyParser from "body-parser";
import * as serveStatic from "serve-static";
import * as queryString from "querystring";

import { Netlify } from "./netlify";

Expand Down Expand Up @@ -63,7 +64,7 @@ export class Server {
const lambdaRequest = {
path: request.path,
httpMethod: request.method,
queryStringParameters: request.query,
queryStringParameters: queryString.parse(request.url.split("?")[1]),
headers: request.headers,
body: request.body,
isBase64Encoded: false,
Expand Down

0 comments on commit 3bce932

Please sign in to comment.