Skip to content

Commit b6ec0c7

Browse files
committed
forgot to push main in last commit
1 parent 4e6e823 commit b6ec0c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from .models.latest import LatestResponse as Latest
1919
from .models.location import LocationResponse as Location
2020
from .models.location import LocationsResponse as Locations
21-
from .router.v2 import router
21+
from .router.v2 import router as v2router
2222

2323
# ############
2424
# FastAPI App
@@ -84,7 +84,7 @@ async def handle_validation_error(request: Request, exc: pydantic.error_wrappers
8484

8585
# Include routers.
8686
# APP.include_router(router, prefix="/", tags=["v1"])
87-
APP.include_router(router, prefix="/v2", tags=["v2"])
87+
APP.include_router(v2router, prefix="/v2", tags=["v2"])
8888

8989
# mount the existing Flask app
9090
# v1 @ /

0 commit comments

Comments
 (0)