Start refactoring for images management

This commit is contained in:
grossmj committed 2021-06-06 16:52:47 +09:30
1 parent f64b5cd9b6
commit 515bd50261
16 files changed
+594 -30

No files matched your search

@@ -28,6 +28,7 @@ from . import projects
from . import snapshots
from . import symbols
from . import templates
from . import images
from . import users
from . import groups
from . import roles
@@ -61,9 +62,17 @@ router.include_router(
tags=["Permissions"]
)
router.include_router(
images.router,
dependencies=[Depends(get_current_active_user)],
prefix="/images",
tags=["Images"]
)
router.include_router(
templates.router,
dependencies=[Depends(get_current_active_user)],
prefix="/templates",
tags=["Templates"]
)