We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81e9175 commit 19eda08Copy full SHA for 19eda08
1 file changed
blog/next-chapter-2/index.md
@@ -130,7 +130,7 @@ const client = new ZenStackClient({
130
procs: {
131
signUp: async (client, args) => {
132
// create user
133
- const user = tx.user.create({ data: { email: args.email, name: args.name } });
+ const user = await client.user.create({ data: { email: args.email, name: args.name } });
134
// send a welcome email
135
await sendWelcomeEmail(user.email);
136
return user;
0 commit comments