message: refactor: omit consoleUrl and monitoringConfig from openshift, and use the correct project id in has permissions check
diff: @@ -10,7 +10,7 @@ const attrFilter = async (hasPermission, entity) => {
  await hasPermission('openshift', 'view:token');
  return entity;
  } catch (err) {
  - return R.omit(['token'], entity);
  + return R.omit(['token','consoleUrl','monitoringConfig'], entity);
  }
  };
  @@ -126,12 +126,13 @@ export const getOpenshiftByEnvironmentId: ResolverFn = async (
  { sqlClientPool, hasPermission }
  ) => {
  // get the project id for the environment
  - const { id: projectId } = await projectHelpers(
  + const project = await projectHelpers(
  sqlClientPool
  ).getProjectByEnvironmentId(eid);
  +
  // check permissions on the project
  await hasPermission('openshift', 'view', {
  - project: projectId
  + project: project.project
  });
  const rows = await query(
  