Skip to content

Commit

Permalink
fix: Convert input to array of arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 committed Jun 6, 2024
1 parent 9f74d34 commit 97d265d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents-api/agents_api/models/entry/delete_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ def delete_entries(entry_ids: list[UUID]) -> tuple[str, dict]:
:returning
}"""

return (query, {"entry_ids": [str(id) for id in entry_ids]})
return (query, {"entry_ids": [[str(id)] for id in entry_ids]})

0 comments on commit 97d265d

Please sign in to comment.