This commit is contained in:
Timothy Jaeryang Baek
2026-02-10 15:30:16 -06:00
parent 0044902c08
commit c259c87806
4 changed files with 17 additions and 13 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ class PromptMetadataForm(BaseModel):
name: str
command: str
tags: Optional[list[str]] = None
access_grants: Optional[list[dict]] = None
router = APIRouter()
@@ -372,7 +373,7 @@ async def update_prompt_metadata(
)
updated_prompt = Prompts.update_prompt_metadata(
prompt.id, form_data.name, form_data.command, form_data.tags, db=db
prompt.id, form_data.name, form_data.command, form_data.tags, form_data.access_grants, db=db
)
if updated_prompt:
return updated_prompt