Skip to content

Commit

Permalink
country endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
oyeniyipa committed Feb 24, 2025
1 parent 0b00345 commit 07bf290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api/people_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def update_profile(
intermediate_languages=profile_request.intermediate_languages,
previous_experience=profile_request.previous_experience,
)
return 200, core_services.get_peoplefinder_profile_by_slug(slug=slug)
return 200, core_services.get_profile_by_slug(slug=slug)
except Profile.DoesNotExist:
return 404, {"message": "Profile does not exist"}
except PeopleFinderProfile.DoesNotExist:
Expand Down

0 comments on commit 07bf290

Please sign in to comment.