Skip to content

Commit f32a7dd

Browse files
committed
updated People.profiles to work with new service-id auth
1 parent c94db3f commit f32a7dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hibob/endpoints/People.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ def profiles(self, sort_by="firstName"):
129129
sort_by (str): optional field name to sort by, defaults to firstName
130130
131131
References:
132-
https://apidocs.hibob.com/reference#get_profiles
132+
https://apidocs.hibob.com/reference/get_profiles
133133
"""
134-
return self.client.get("profiles", query={"sortBy": sort_by})
134+
return self.client.post("profiles", json_body={"sortBy": sort_by})
135135

136136
def read_avatar(self, email):
137137
"""

0 commit comments

Comments
 (0)