Skip to content

Commit fa7ec3a

Browse files
[tools] Remove dead logic
1 parent 68ffc38 commit fa7ec3a

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

tools-public/toolpad/resources/queryAbout.ts

-28
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,6 @@ export async function queryAbout() {
1212
throw new Error(`Env variable HIBOB_TOKEN_READ_STANDARD not configured`);
1313
}
1414

15-
// https://apidocs.hibob.com/reference/post_people-search
16-
// Buggy fullName should work but doesn't
17-
// const res = await fetch(
18-
// "https://api.hibob.com/v1/people/search",
19-
// {
20-
// headers: {
21-
// "content-type": "application/json",
22-
// Authorization: `Basic ${btoa(
23-
// `SERVICE-5772:${process.env.HIBOB_TOKEN_READ_STANDARD}`
24-
// )}`,
25-
// },
26-
// method: "POST",
27-
// body: JSON.stringify({
28-
// "fields": [
29-
// "fullName",
30-
// "about.socialData.twitter",
31-
// "work.title",
32-
// "address.city",
33-
// "address.country",
34-
// "about.custom.field_1690557141686",
35-
// "about.custom.field_1682954415714",
36-
// ],
37-
// "humanReadable": "REPLACE",
38-
// "showInactive": false
39-
// }),
40-
// }
41-
// );
42-
4315
const res = await fetch('https://api.hibob.com/v1/people/search', {
4416
method: 'POST',
4517
headers: {

0 commit comments

Comments
 (0)