• Validate the ownerId and the name of the organization not exist in the database.

    Parameters

    Returns Promise<util.StatusCodes>

    Description

    This validator will check if the ownerId and the name of the organization not exist in the database by applying the following steps in sequence:

    1. Get the ownerId and the name of the organization from the context

    2. Check if the ownerId and the name of the organization exist in the database

    3. throw error if exist else return 200

Generated using TypeDoc