text: import GlipGroups from 'ringcentral-integration/modules/GlipGroups';
  import { Module } from 'ringcentral-integration/lib/di';
  
  const glipGroupRegExp = /glip\/groups$/;
  
  @Module({
    deps: [],
  })
  export default class NewGlipGroups extends GlipGroups {
    // TODO: hack for 400 error (Company associated with RC account is not found)
    async _fetchFunction() {
      try {
        const data = await super._fetchFunction();
        return data;
      } catch (error) {
        if (
          error &&
          error.message === 'Company associated with RC account is not found'
        ) {
          return [];
        }
        throw error;
      }
    }
  }
  