Skip to content

Can not create Room using Id  #14

@Meetcpatel

Description

@Meetcpatel

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions