import { CanActivateFn } from '@angular/router';
import { checkWeworkLogin } from 'fmode-ng/core';

export const WxworkAuthGuard: CanActivateFn = async (route, state) => {
  return checkWeworkLogin(route);
};