Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not create Room using Id #14

Open
Meetcpatel opened this issue Mar 14, 2022 · 0 comments
Open

Can not create Room using Id #14

Meetcpatel opened this issue Mar 14, 2022 · 0 comments
Labels
question Further information is requested

Comments

@Meetcpatel
Copy link

Meetcpatel commented Mar 14, 2022

Hello!

I am facing issue with creating room.

I used sign in with phone number.

const confirmation = await auth().signInWithPhoneNumber(phoneNumber);

And getting user

const {firebaseUser} = useFirebaseUser();

and creating room

let U = { "id": firebaseUser?.uid };

createRoom(U).then((res:any)=>{console.log("res",res); }).catch((err: any) => { console.log(err); })

but I received error

[TypeError: undefined is not an object (evaluating 'data.createdAt')]

Can anyone help to fix this?

@Meetcpatel Meetcpatel added the question Further information is requested label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant