diff --git a/docs/users/metadata.mdx b/docs/users/metadata.mdx index ae75fd30b8..a7fc5cba2b 100644 --- a/docs/users/metadata.mdx +++ b/docs/users/metadata.mdx @@ -198,7 +198,7 @@ Public metadata is accessible by both the frontend and the backend, but can only const client = await clerkClient() await client.users.updateUserMetadata(userId, { - privateMetadata: { + publicMetadata: { stripeId: stripeId, }, })