Skip to content

Error checking for adminUpdates is non-existent #104

@youralien

Description

@youralien

I encountered an issue when I miss-used the function signature in adminUpdatesForRemovingUserToIncidentEntirely, where an error is not thrown or printed if these admin updates don't work out.

These functions should implement contracts on the inputs, and check if the expected number of documents got updated, and throw or log errors in the console.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions