Update shared component API endpoint
This commit is contained in:
parent
0d22a3864f
commit
67374445de
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ from typing import Annotated, List, Optional, Union
|
|||
from uuid import UUID
|
||||
|
||||
from fastapi import APIRouter, Depends, HTTPException, Query
|
||||
|
||||
from langflow.services.auth import utils as auth_utils
|
||||
from langflow.services.database.models.user.model import User
|
||||
from langflow.services.deps import get_settings_service, get_store_service
|
||||
|
|
@ -101,7 +102,7 @@ async def share_component(
|
|||
|
||||
|
||||
@router.patch("/components/{component_id}", response_model=CreateComponentResponse, status_code=201)
|
||||
async def update_component(
|
||||
async def update_shared_component(
|
||||
component_id: UUID,
|
||||
component: StoreComponentCreate,
|
||||
store_service: StoreService = Depends(get_store_service),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue