diff --git a/app/src/history/history.ts b/app/src/history/history.ts index 5fb625172..d1c2b5c3b 100644 --- a/app/src/history/history.ts +++ b/app/src/history/history.ts @@ -606,7 +606,7 @@ export const openHistory = () => { renderDoc(firstPanelElement, type === "docprevious" ? currentPage - 1 : currentPage + 1); break; } else if (type === "rebuildIndex") { - fetchPost("/api/history/reindexHistory", {}); + fetchPost("/api/history/reindexHistory"); dialog.destroy(); break; } else if (type === "compare") {