Edit a user
Import the function at the top of your file
import { editUser } from "swizzle-js";
Edit a user with editUser(userId, newProperties)
Returns the updated user object
const updatedUser = await editUser(request.user.userId, {"new_key": "any_value"})
Last updated