Update todos-create.js
This commit is contained in:
parent
d390d662a9
commit
a1fbcced32
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ const client = new faunadb.Client({
|
|||
exports.handler = (event, context, callback) => {
|
||||
/* parse the string body into a useable JS object */
|
||||
const data = JSON.parse(event.body)
|
||||
console.log("Function `todo-create` invoked", data)
|
||||
console.log("Hello webinar. Function `todo-create` invoked", data)
|
||||
const todoItem = {
|
||||
data: data
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue