diff --git a/lib/team.ts b/lib/team.ts index 55dd2b2c..80996314 100644 --- a/lib/team.ts +++ b/lib/team.ts @@ -24,11 +24,11 @@ export interface Metadata { } export async function getExecNames() { - if (process.env.USE_LDAP?.toLowerCase() !== "true") { - return (await readdir(EXECS_PATH)) - .filter((name) => name.endsWith(fileType)) - .map((name) => name.slice(0, -1 * fileType.length)); - } + // if (process.env.USE_LDAP?.toLowerCase() !== "true") { + // return (await readdir(EXECS_PATH)) + // .filter((name) => name.endsWith(fileType)) + // .map((name) => name.slice(0, -1 * fileType.length)); + // } const url = "ldap://ldap1.csclub.uwaterloo.ca"; const searchDN = "ou=People,dc=csclub,dc=uwaterloo,dc=ca";