13cf664898
Notably, this PR fixes `faunadb` which relies on `formidable`. n.b. `formidable` is an unmaintained legacy npm package that uses practices not compatible with the modern ecosystem.
7 lines
179 B
JavaScript
7 lines
179 B
JavaScript
import { Client } from 'faunadb'
|
|
|
|
export default (_req, res) => {
|
|
const client = new Client({ secret: 'foobar' })
|
|
console.log(client)
|
|
res.send({ message: 'hello world' })
|
|
}
|