Small error in tutorial
-
Hi, I was following your tutorial and ran into a small issue.
This line in api.js:
const result = await wp.users.create(user)Should be:
const result = await wp.users().create(user)
Hope that helps someone that runs into the same issue I did.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Small error in tutorial’ is closed to new replies.