feat: service deleting and rest categories placeholders
This commit is contained in:
@@ -26,9 +26,10 @@ service_router = APIRouter(
|
||||
|
||||
)
|
||||
async def get_all(
|
||||
session: Annotated[AsyncSession, Depends(get_session)]
|
||||
session: Annotated[AsyncSession, Depends(get_session)],
|
||||
with_placeholders: bool = False
|
||||
):
|
||||
return await ServiceService(session).get_all()
|
||||
return await ServiceService(session).get_all(with_placeholders)
|
||||
|
||||
|
||||
@service_router.post(
|
||||
|
||||
Reference in New Issue
Block a user