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 {
|
try {
|
||||||
const [projResult, docsResult, tagsResult] = await Promise.all([
|
const [projResult, docsResult, tagsResult] = await Promise.all([
|
||||||
api.getProject(projectId),
|
api.getProject(projectId),
|
||||||
api.getDocuments({ projectId }),
|
api.getDocuments({ project: projectId }),
|
||||||
api.getTags()
|
api.getTags()
|
||||||
]);
|
]);
|
||||||
project = projResult;
|
project = projResult;
|
||||||
|
|||||||
Reference in New Issue
Block a user