Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoenixNazarov committed Jul 22, 2024
1 parent cc0bd54 commit cb7ccea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/promptadmin/api/routers/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def load_mapping(mapping: Mapping) -> list[Prompt]:


@router.post('/save')
async def save(prompt: Prompt, user_data=UserDependsAnnotated()):
async def save(prompt: Prompt, user_data: UserDependsAnnotated):
mapping = await mapping_service.find_by_table_field(prompt.table, prompt.field)
conn = await asyncpg.connect(SETTINGS.connections[mapping.connection_name])
await prompt_audit_service.save(
Expand Down

0 comments on commit cb7ccea

Please sign in to comment.