Skip to content

Commit 92a9cb7

Browse files
authored
Updated main.py
1 parent 1c7e4ae commit 92a9cb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from .config import get_settings
1717
from .data import data_source
18-
from .routers import V1, V2
18+
from .routers import Version_1, Version_2
1919
from .utils.httputils import setup_client_session, teardown_client_session
2020

2121
# ############
@@ -110,8 +110,8 @@ async def handle_validation_error(
110110

111111

112112
# Include routers.
113-
APP.include_router(V1, prefix="", tags=["v1"])
114-
APP.include_router(V2, prefix="/v2", tags=["v2"])
113+
APP.include_router(Version_1, prefix="", tags=["v1"])
114+
APP.include_router(Version_2, prefix="/v2", tags=["v2"])
115115

116116

117117
# Running of app.

0 commit comments

Comments
 (0)