Open in app
Ernesto Freyre
473 Followers
About

Sign in

473 Followers
About
Open in app
Ernesto Freyre

Ernesto Freyre

Jun 22, 2018·1 min read

I think you are probably getting a basic request object, that does not include such computed property. I would recommend using express, create an app with all the routes and middlewares you need an export it as the cloud function handler.

https://gist.github.com/ernestofreyreg/5781787f1bb2a775a712be7bb5b1462b

Ernesto Freyre

Software Engineer @ Coalition Inc., Miami FL

Hi,
1

Leandro Martin Soler

More from Ernesto Freyre

Software Engineer @ Coalition Inc., Miami FL

More From Medium

Create a React component library with TypeScript and Storybook

Ernesto Freyre in Level Up Coding

Deploy your NextJS Application on a different base path (i.e. not root)

Ernesto Freyre in Level Up Coding

Create an NPM module with TypeScript

Ernesto Freyre in Level Up Coding

Building a NextJS Monorepo

Ernesto Freyre in JavaScript in Plain English

Chris Hemsworth Is Exactly What’s Wrong With The Fitness Industry

Daniel Hopper in Better Marketing

The Future is More Terrifying Than We Can Imagine

Alastair Isaacs in Predict

Why Is The Age of Consent in Japan Only 13-Year-Old?

Isaiah McCall in History of Yesterday

The Fate Of Elon Musk’s Assistant Is A Cautionary Tale For Negotiating Salary

Nick Wolny in Entrepreneur's Handbook

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store