Skip to content

Commit

Permalink
style: rename last modified endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
HAEKADI committed Oct 17, 2024
1 parent e7784d9 commit 9b96d0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/routers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
fetch_idcc_siret_mapping,
get_metadata_cc_response,
)
from app.service.data_updates import get_last_modified_response
from app.service.last_modified import get_last_modified_response

router = APIRouter()

Expand All @@ -25,8 +25,8 @@ async def search_conventions_collectives_by_siren_endpoint(siren: str):
return fetch_idcc_siret_mapping(siren)


@router.get("/metadata/updates")
async def data_updates_endpoint():
@router.get("/sources/last_modified")
async def last_modified_endpoint():
"""
Endpoint for serving data sources' last modified dates JSON file.
"""
Expand Down

0 comments on commit 9b96d0d

Please sign in to comment.