From b3e4d428173d2862818f8603ed121eb1b03b475c Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 17 Nov 2023 16:15:59 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(store.py):=20remove=20unnece?= =?UTF-8?q?ssary=20raise=20statement=20to=20prevent=20raising=20a=20403=20?= =?UTF-8?q?status=20code=20unnecessarily?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/api/v1/store.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/langflow/api/v1/store.py b/src/backend/langflow/api/v1/store.py index b48f184c7..cef75e069 100644 --- a/src/backend/langflow/api/v1/store.py +++ b/src/backend/langflow/api/v1/store.py @@ -136,7 +136,6 @@ async def get_components( raise HTTPException(status_code=401, detail=str(exc)) elif "filter by likes" in str(exc) or "filter your components" in str(exc): raise HTTPException(status_code=400, detail=str(exc)) - raise HTTPException(status_code=403, detail=str(exc)) raise HTTPException(status_code=500, detail=str(exc))