Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sveltemaster authored Dec 28, 2020
1 parent 6d2cb55 commit 8d0e966
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ for override settings type..
rename api/date.js to crud.js
paste this in crud.js

```let people = [{name: 'Patrick'}, {name: 'Sandy'}, {name: 'Bob'}]
```
let people = [{name: 'Patrick'}, {name: 'Sandy'}, {name: 'Bob'}]
module.exports = function (req, res) {
if (req.method === 'GET') {
res.status(200).json(people);
Expand Down

0 comments on commit 8d0e966

Please sign in to comment.