Skip to content

Commit 88721c4

Browse files
committed
Refactor code to update picture import filter for employee type
1 parent 99c6321 commit 88721c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/import_pictures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async def send_request(session, url, json):
3333
"Authorization": f"Bearer {sesame_api_token}",
3434
}
3535
params = {
36-
"filters[inetOrgPerson.jpegPhoto]": f"{json.get('id')}.jpg",
36+
"filters[inetOrgPerson.photo]": f"{json.get('id')}.jpg",
3737
"filters[inetOrgPerson.employeeType]": "TAIGA",
3838
}
3939

0 commit comments

Comments
 (0)