lynndylanhurley / redux-auth

Complete token authentication system for react + redux that supports isomorphic rendering.
Do What The F*ck You Want To Public License
2.13k stars 260 forks source link

Add missing ending parenthesis #132

Open ahcarpenter opened 6 years ago

ahcarpenter commented 6 years ago

This PR is to add the missing ending parenthesis to:

server.ext("onPreResponse", (request, reply) => {
  const query = qs.stringify(request.query);
  const currentLocation = request.path + (query.length ? "?" + query : "");
  const cookies = request.headers.cookies;

  renderApp({
    isServer: true,
    cookies,
    currentLocation
  }).then(appComponent => {
    reply(getMarkup(appComponent));
  });
});