static async checkMediaProvider() {
        let result = await HashBrown.Service.SettingsService.getSettings(HashBrown.Context.projectId, HashBrown.Context.environment, 'providers');
        
        if(!result || !result.media) {
            throw new Error('No Media provider has been set for this project. Please make sure one of your connections has the "is Media provider" setting switched on.');
        }  
    }
/**
     * Checks whether the Media provider exists
     */
Checks whether the Media provider exists
Checks whether the Media provider exists
static async checkMediaProvider() {
        let result = await HashBrown.Service.SettingsService.getSettings(HashBrown.Context.projectId, HashBrown.Context.environment, 'providers');
        if(!result || !result.media) {
            throw new Error('No Media provider has been set for this project. Please make sure one of your connections has the "is Media provider" setting switched on.');
        }  
    }
static async checkMediaProvider ( ) { let result = await HashBrown . Service . SettingsService . getSettings ( HashBrown . Context . projectId , HashBrown . Context . environment , 'providers' ) ; if ( ! result || ! result . media ) { throw new Error ( 'No Media provider has been set for this project. Please make sure one of your connections has the "is Media provider" setting switched on.' ) ; } }
Checks whether the Media provider exists
Checks whether the Media provider exists