From 72bbbb184745e8372d7f6463e54648af78c0d07a Mon Sep 17 00:00:00 2001 From: maike Date: Mon, 6 Jul 2020 20:10:20 +0200 Subject: [PATCH] [email] Delete unnecessary route --- kibicara/platforms/email/webapi.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kibicara/platforms/email/webapi.py b/kibicara/platforms/email/webapi.py index 73e408f..8fc45de 100644 --- a/kibicara/platforms/email/webapi.py +++ b/kibicara/platforms/email/webapi.py @@ -42,14 +42,6 @@ hood_router = APIRouter() mailbox_router = APIRouter() -""" -# get Email row? -@router.get('/') -async def test_read_all(hood=Depends(get_hood)): - return await Email.objects.filter(hood=hood).all() -""" - - @hood_router.post('/', status_code=status.HTTP_201_CREATED) async def email_create(hood=Depends(get_hood)): try: