rsnext/examples/with-deta-base/pages
Silvio Clécio 21605a5f9f
Fix error 500 (#41205)
Fix the following problem:

```
  page: '/api/todos'
}
  10 | 
  11 |   if (method === 'GET') {
> 12 |     const { value: items } = await base.fetch([]).next()
     |                                                  ^
  13 |     respBody = items
  14 |     res.statusCode = 200
  15 |   } else if (method === 'POST') {
warn  - Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/basic-features/fast-refresh#how-it-works
```

Working app -> https://with-deta-base-ashy.vercel.app
Temp repo -> https://github.com/silvioprog/with-deta-base
2022-10-06 08:19:28 +00:00
..
api/todos Fix error 500 (#41205) 2022-10-06 08:19:28 +00:00
_app.js Example: Deta Base (#19061) 2020-11-13 23:00:30 +00:00
_document.js Use Font Optimization in examples (#39977) 2022-08-26 18:27:59 +00:00
index.js Use Font Optimization in examples (#39977) 2022-08-26 18:27:59 +00:00