Skip to content

Commit 84470b6

Browse files
committed
fix politician search
1 parent 5dd9632 commit 84470b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

poliloom-gui/src/app/create/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export default function CreatePage() {
221221
{/* Politician Search/Create */}
222222
<div className="space-y-6">
223223
<EntitySelector<Politician>
224-
searchEndpoint="/api/politicians"
224+
searchEndpoint="/api/politicians/search"
225225
placeholder="Search for politicians or enter a new name..."
226226
selectedEntity={
227227
selectedPolitician

0 commit comments

Comments
 (0)