Skip to content

Commit dac61ee

Browse files
Add more logging for ldap
1 parent 51e02c5 commit dac61ee

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/services/ldapClient.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ async function ForwardSearch(groupName: string) {
131131
// cb is for cache busting.
132132
const requestUrl = `${process.env.SOURCE_PROXY}/api/get-source-team?teamName=${groupName}&cb=${Date.now()}`;
133133

134+
console.log(`Retrieving group (${groupName}) information from '${requestUrl}'`);
134135
const result = await axios.get(requestUrl);
136+
console.log(`Results for ${groupName}: ${result}`);
135137

136-
return result.data;
138+
return result.data as SearchAllResponse;
137139
}

0 commit comments

Comments
 (0)