Testys commited on
Commit
6583b3b
·
verified ·
1 Parent(s): 61ad128

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -13,7 +13,7 @@ from starlette.middleware.cors import CORSMiddleware
13
  # Correctly import the database table creation function
14
  from src.database import create_db_and_tables, engine
15
  # Import all the necessary routers for the application
16
- from src.routers import students, devices, clearance, token, users, admin
17
  from src.crud import users as user_crud
18
  from src.models import UserCreate, Role
19
 
@@ -95,6 +95,7 @@ app.include_router(devices.router)
95
  app.include_router(students.router)
96
  app.include_router(token.router)
97
  app.include_router(users.router)
 
98
  print("All API routers included.")
99
 
100
  # --- Default and System Endpoints ---
 
13
  # Correctly import the database table creation function
14
  from src.database import create_db_and_tables, engine
15
  # Import all the necessary routers for the application
16
+ from src.routers import students, devices, clearance, token, users, admin, rfid
17
  from src.crud import users as user_crud
18
  from src.models import UserCreate, Role
19
 
 
95
  app.include_router(students.router)
96
  app.include_router(token.router)
97
  app.include_router(users.router)
98
+ app.include_router(rfid.router)
99
  print("All API routers included.")
100
 
101
  # --- Default and System Endpoints ---