fix: use 'project' instead of 'projectId' in getDocuments query param

This commit is contained in:
Hiro
2026-03-28 13:46:24 +00:00
parent b81e670ce4
commit 906b01248c

View File

@@ -16,7 +16,7 @@ export async function renderProjectView(app) {
try {
const [projResult, docsResult, tagsResult] = await Promise.all([
api.getProject(projectId),
api.getDocuments({ projectId }),
api.getDocuments({ project: projectId }),
api.getTags()
]);
project = projResult;