Add trailing slash to /check endpoint in store.py

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-16 17:09:23 -03:00
commit 42b0f70f81

View file

@ -4,6 +4,7 @@ from uuid import UUID
from fastapi import APIRouter, Depends, HTTPException, Query
from httpx import HTTPStatusError
from langflow.services.auth import utils as auth_utils
from langflow.services.database.models.user.user import User
from langflow.services.deps import get_settings_service, get_store_service
@ -41,7 +42,7 @@ def get_optional_user_store_api_key(
return decrypted
@router.get("/check")
@router.get("/check/")
def check_if_store_is_enabled(
settings_service=Depends(get_settings_service),
):