• Updates a user by id

    Parameters

    • db: any
    • id: any
    • userData: any

    Returns Promise<any>