Skip to content

Commit

Permalink
fix:fix auth params after modifying write params class
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdellahitech committed Dec 28, 2023
1 parent 41ada3e commit 17a2438
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hrflow_connectors/connectors/talentsoft/warehouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ def write_profiles(
"""Write profiles into TalentSoft"""
failed_profiles = []
token = get_talentsoft_auth_token(
client_url=parameters.client_url,
client_id=parameters.client_id,
client_secret=parameters.client_secret,
client_url=parameters.client_url_front,
client_id=parameters.client_id_front,
client_secret=parameters.client_secret_front,
front_or_back="front",
)
for profile in profiles:
Expand All @@ -409,7 +409,7 @@ def write_profiles(
profile_ts = decode_json(profile_ts)
try:
response = post_applicant_front(
parameters.client_url,
parameters.client_url_front,
token,
profile_ts,
files,
Expand Down

0 comments on commit 17a2438

Please sign in to comment.