Skip to content

Commit

Permalink
country endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
oyeniyipa committed Feb 25, 2025
1 parent 76d7271 commit a4cb791
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/api/people_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

router = Router()
profile_router = Router()
country_router = Router()
reference_router = Router()
router.add_router("person", profile_router)
router.add_router("countries", country_router)
router.add_router("reference", reference_router)


@profile_router.get(
Expand Down Expand Up @@ -92,8 +92,8 @@ def update_profile(
return 404, {"message": "People finder profile does not exist"}


@country_router.get(
"",
@reference_router.get(
"countries/",
response={
200: list[CountrySchema],
404: Error,
Expand Down

0 comments on commit a4cb791

Please sign in to comment.