Skip to content

Commit

Permalink
update endpoint name
Browse files Browse the repository at this point in the history
  • Loading branch information
thingscouldbeworse committed Nov 25, 2024
1 parent c26dfab commit 2434a07
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/fides/api/api/v1/endpoints/dataset_lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from starlette.status import HTTP_200_OK

from fides.api.api.deps import get_db
from fides.api.api.v1.endpoints import API_PREFIX
from fides.api.db.ctl_session import get_async_db
from fides.api.models.detection_discovery import (
fetch_staged_resources_by_type_query,
Expand All @@ -18,12 +19,13 @@
from fides.api.util.api_router import APIRouter

LIFECYCLE_ROUTER = APIRouter(
tags=["Dataset Lifecycle", "Detection and Discovery"], prefix="/lifecycle"
tags=["Dataset Lifecycle", "Detection and Discovery"],
prefix=f"{API_PREFIX}/lifecycle",
)


@LIFECYCLE_ROUTER.get(
"/get/projects",
"/project",
status_code=HTTP_200_OK,
response_model=Page[StagedResourceResponse],
)
Expand All @@ -46,7 +48,7 @@ async def get_projects(


@LIFECYCLE_ROUTER.get(
"/get/datasets",
"/dataset",
status_code=HTTP_200_OK,
response_model=Page[StagedResourceResponse],
)
Expand Down

0 comments on commit 2434a07

Please sign in to comment.