list(serviceName, filters) {
      let filtersAsArray = filters;

      if (!_(filters).isArray()) {
        filtersAsArray = [filters];
      }

      const promises = filtersAsArray.map(filter => this.OvhHttp.get(`/hosting/web/${serviceName}/envVar`, {
        rootPath: 'apiv6',
        params: filter,
      }));

      return this.$q.allSettled(promises).then((data) => {
        let dataAsArray = data;

        if (!_(data).isArray()) {
          dataAsArray = [data];
        }

        return _(dataAsArray)
          .chain()
          .map(datum => (_(datum).isArray
            ? _(datum)
              .flatten()
              .value()
            : datum)) // The API returns an array of array sometimes
          .flatten()
          .uniq()
          .value();
      });
    }
/**
     * Get list of envvars on hosting
     * @param serviceName
     * @param filters
     */
Get list of envvars on hosting
@param serviceName
@param filters
Get list of envvars on hosting @param serviceName @param filters
list(serviceName, filters) {
      let filtersAsArray = filters;
      if (!_(filters).isArray()) {
        filtersAsArray = [filters];
      }
      const promises = filtersAsArray.map(filter => this.OvhHttp.get(`/hosting/web/${serviceName}/envVar`, {
        rootPath: 'apiv6',
        params: filter,
      }));
      return this.$q.allSettled(promises).then((data) => {
        let dataAsArray = data;
        if (!_(data).isArray()) {
          dataAsArray = [data];
        }
        return _(dataAsArray)
          .chain()
          .map(datum => (_(datum).isArray
            ? _(datum)
              .flatten()
              .value()
            : datum)) 
          .flatten()
          .uniq()
          .value();
      });
    }
list ( serviceName , filters ) { let filtersAsArray = filters ; if ( ! _ ( filters ) . isArray ( ) ) { filtersAsArray = [ filters ] ; } const promises = filtersAsArray . map ( filter => this . OvhHttp . get ( ` ${ serviceName } ` , { rootPath : 'apiv6' , params : filter , } ) ) ; return this . $q . allSettled ( promises ) . then ( ( data ) => { let dataAsArray = data ; if ( ! _ ( data ) . isArray ( ) ) { dataAsArray = [ data ] ; } return _ ( dataAsArray ) . chain ( ) . map ( datum => ( _ ( datum ) . isArray ? _ ( datum ) . flatten ( ) . value ( ) : datum ) ) . flatten ( ) . uniq ( ) . value ( ) ; } ) ; }
Get list of envvars on hosting
 @param serviceName
 @param filters
Get list of envvars on hosting @param serviceName @param filters
// The API returns an array of array sometimes