Skip to content

Firestore update command does not update the document #10

@bettinatop22

Description

@bettinatop22

Hello,

when I try to update a document in firestore it's not updated and an error occurs with the following message:

update() requires either a single javascript object or an alternating list of field/value pairs

This is probably due to the fact that the data for update is not passed in the corresponding command:

return `${FIREBASE_EXTRA_PATH} firestore ${action} ${actionPath}`;

I tested it locally by passing the fixturePath as a third argument and it seems to be working as expected.

Let me know what you think. I'd happily submit a fix for this.

Thanks,
Bettina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions