Commit fa7ec3a 1 parent 68ffc38 commit fa7ec3a Copy full SHA for fa7ec3a
File tree 1 file changed +0
-28
lines changed
tools-public/toolpad/resources
1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -12,34 +12,6 @@ export async function queryAbout() {
12
12
throw new Error ( `Env variable HIBOB_TOKEN_READ_STANDARD not configured` ) ;
13
13
}
14
14
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
-
43
15
const res = await fetch ( 'https://api.hibob.com/v1/people/search' , {
44
16
method : 'POST' ,
45
17
headers : {
You can’t perform that action at this time.
0 commit comments