Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 17, 2024
1 parent b26444e commit f68afad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@

# add REST routes

api.include_router(router=init_configuration_router(), prefix='/config')
api.include_router(router=init_configuration_router, prefix='/config')
logger.debug('/config route added')
api.include_router(router=init_database_router(), prefix='/db')
api.include_router(router=init_database_router, prefix='/db')
logger.debug('/db route ad')
api.include_router(router=init_swissarmy_router(), prefix='/internal', include_in_schema=False) # undocumented
api.include_router(router=init_swissarmy_router, prefix='/internal', include_in_schema=False) # undocumented
logger.debug('/internal route added (undocumented)')
# api.include_router(test_router, prefix='/test')
# logger.debug('/test route defined.')
Expand Down

0 comments on commit f68afad

Please sign in to comment.