diff --git a/contributors.yml b/contributors.yml index cecb19e765..89ccd6d34c 100644 --- a/contributors.yml +++ b/contributors.yml @@ -152,3 +152,4 @@ - xavier-lc - xcsnowcity - yuleicul +- pavsoldatov diff --git a/docs/start/tutorial.md b/docs/start/tutorial.md index 12b7525e08..198c6734f1 100644 --- a/docs/start/tutorial.md +++ b/docs/start/tutorial.md @@ -605,7 +605,8 @@ import { import { getContacts, createContact } from "../contacts"; export async function action() { - await createContact(); + const contact = await createContact(); + return { contact } } /* other code */