Open WebDev-Akhil opened 9 months ago
const user = useQueryWithAuth(api.users.get, {}); console.log(user); // console: { "_creationTime": 1702762092385.2559, "_id": "jx73wvm3aj5ebpqz0pd3lsrygn6fqq5s", "email": "test@test.com", "id": "ewb5fe3sjwlkeq2", "userId": "ewb5fe3sjwlkeq2" }
you can notice that both 'id' and 'userid' are basically the same.
Note: based on this version of docs (updated 2 days ago)
you can notice that both 'id' and 'userid' are basically the same.
Note: based on this version of docs (updated 2 days ago)