fix: use 'project' instead of 'projectId' in getDocuments query param
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user