Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
This repository was archived by the owner on May 13, 2024. It is now read-only.

Does await really make sense in db.collection('rooms').doc(); ? #33

@multimanic

Description

@multimanic

const roomRef = await db.collection('rooms').doc();

According to the docs, the doc() method doesn't return a promise. So why the await in this line?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions